AddCatalogDefinitionProperty Method (Int32, String, Int32, Int32, String, Int32)

Add a Definition to this enumeration and return a CatalogDefinitionPropertiesDataSet..::.CatalogDefinitionProperty.

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

Syntax

'Declaration
Public Function AddCatalogDefinitionProperty ( _
    DefinitionId As Integer, _
    PropertyName As String, _
    PropertyType As Integer, _
    PropertyOrder As Integer, _
    DefinitionName As String, _
    DefinitionType As Integer _
) As CatalogDefinitionPropertiesDataSet..::.CatalogDefinitionProperty
'Usage
Dim instance As CatalogDefinitionPropertiesDataSet..::.CatalogDefinitionPropertiesDataTable
Dim DefinitionId As Integer
Dim PropertyName As String
Dim PropertyType As Integer
Dim PropertyOrder As Integer
Dim DefinitionName As String
Dim DefinitionType As Integer
Dim returnValue As CatalogDefinitionPropertiesDataSet..::.CatalogDefinitionProperty

returnValue = instance.AddCatalogDefinitionProperty(DefinitionId, _
    PropertyName, PropertyType, PropertyOrder, _
    DefinitionName, DefinitionType)
public CatalogDefinitionPropertiesDataSet..::.CatalogDefinitionProperty AddCatalogDefinitionProperty(
    int DefinitionId,
    string PropertyName,
    int PropertyType,
    int PropertyOrder,
    string DefinitionName,
    int DefinitionType
)
public:
CatalogDefinitionPropertiesDataSet..::.CatalogDefinitionProperty^ AddCatalogDefinitionProperty(
    int DefinitionId, 
    String^ PropertyName, 
    int PropertyType, 
    int PropertyOrder, 
    String^ DefinitionName, 
    int DefinitionType
)
public function AddCatalogDefinitionProperty(
    DefinitionId : int, 
    PropertyName : String, 
    PropertyType : int, 
    PropertyOrder : int, 
    DefinitionName : String, 
    DefinitionType : int
) : CatalogDefinitionPropertiesDataSet..::.CatalogDefinitionProperty

Parameters

  • DefinitionId
    Type: System..::.Int32
    The identifier for this Catalog definition property.
  • PropertyType
    Type: System..::.Int32
    The type of this Catalog definition property.

Return Value

Type: Microsoft.CommerceServer.Catalog..::.CatalogDefinitionPropertiesDataSet..::.CatalogDefinitionProperty
A CatalogDefinitionPropertiesDataSet..::.CatalogDefinitionProperty containing the added CatalogDefinitionProperty.

Remarks

The enumeration object must be saved before these changes will be persisted to the database.

Permissions

See Also

Reference

CatalogDefinitionPropertiesDataSet..::.CatalogDefinitionPropertiesDataTable Class

CatalogDefinitionPropertiesDataSet..::.CatalogDefinitionPropertiesDataTable Members

AddCatalogDefinitionProperty Overload

Microsoft.CommerceServer.Catalog Namespace