VariantId Property
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Gets or sets the value in the VariantIdColumn column of the CatalogsDataSet..::.CatalogsDataTable table.
Namespace: Microsoft.CommerceServer.Catalog
Assembly: Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)
Syntax
'Declaration
Public Property VariantId As String
'Usage
Dim instance As CatalogsDataSet..::.Catalog
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 value in the VariantIdColumn column of the CatalogsDataSet..::.CatalogsDataTable table.
Exceptions
Exception | Condition |
---|---|
StrongTypingException | The value for column ProductId in table Catalogs is DBNull. |
Remarks
Name of property that is the variant ID. Cannot be nullNothingnullptra null reference (Nothing in Visual Basic).
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.
See Also
Reference
CatalogsDataSet..::.Catalog Class