Sample object. Used for a data binding demonstration only
| C# | Visual Basic | Visual Basic Usage |
public class Product
Public Class Product
Dim instance As Product
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| Product(Int32) | Initializes a new instance of the Product class | |
| Product(Int32, String, Int32) | Initializes a new instance of the Product class | |
| Amount | ||
| Equals(Object) | (Inherited from Object.) | |
| Finalize()()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetHashCode()()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| ID | ||
| MemberwiseClone()()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| Name | ||
| ToJson |
Extension method on object that serializes the value to Json.
Note the type must be marked Serializable or include a DataContract attribute.
(Inherited from JsonExtensionsWeb.) | |
| ToString()()()() | (Inherited from Object.) |
| Object | |
| Product | |