VariantId Property
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Gets the variant id.
Namespace: Microsoft.CommerceServer.Inventory
Assembly: Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)
Syntax
'Declaration
Public ReadOnly Property VariantId As String
'Usage
Dim instance As InventorySku
Dim value As String
value = instance.VariantId
public string VariantId { get; }
public:
property String^ VariantId {
String^ get ();
}
public function get VariantId () : String
Property Value
Type: System..::.String
The variant identifier.
Remarks
This attribute is a required and specifies the variant identifier for the product variant. The variantId should not exceed 343 characters.
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.