VariantId Property
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Gets or sets the variant identifier for the product.
Namespace: Microsoft.CommerceServer.Runtime
Assembly: Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)
Syntax
'Declaration
Public Property VariantId As String
'Usage
Dim instance As BasketEvent
Dim value As String
value = instance.VariantId
instance.VariantId = value
public string VariantId { get; set; }
public:
property String^ VariantId {
String^ get ();
void set (String^ value);
}
public function get VariantId () : String
public function set VariantId (value : String)
Property Value
Type: System..::.String
The variant identifier for the product. Default value is nullNothingnullptra null reference (Nothing in Visual Basic).
Remarks
Stores the variant identifier for the product. Setting this property is optional.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.