IdentifyingVariantProperty Property

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Gets the identifying variant property for the current instance.

Namespace:  Microsoft.CommerceServer.Catalog
Assembly:  Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)

Syntax

'Declaration
Public ReadOnly Property IdentifyingVariantProperty As String
'Usage
Dim instance As ProductCatalog
Dim value As String

value = instance.IdentifyingVariantProperty
public string IdentifyingVariantProperty { get; }
public:
property String^ IdentifyingVariantProperty {
    String^ get ();
}
public function get IdentifyingVariantProperty () : String

Property Value

Type: System..::.String
The identifying variant property for the current instance.

Remarks

The identifying variant property in a catalog is the property whose value is used to uniquely identify variants within a product family in a catalog. You set the identifying variant property when you create the catalog. If you create a BaseCatalog without an identifying variant property this property will return an empty string. You cannot create variants in a catalog that has been created without an identifying variant property. For a VirtualCatalog this property will always return VariantId.

Permissions

See Also

Reference

ProductCatalog Class

ProductCatalog Members

Microsoft.CommerceServer.Catalog Namespace