Udostępnij za pośrednictwem


AddCatalogDefinition Method (String, Int32, String)

Add a Definition to this CatalogDefinitionsDataSet..::.CatalogDefinitionsDataTable and return a CatalogDefinitionsDataSet..::.CatalogDefinition.

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

Syntax

'Declaration
Public Function AddCatalogDefinition ( _
    DefinitionName As String, _
    DefinitionType As Integer, _
    Description As String _
) As CatalogDefinitionsDataSet..::.CatalogDefinition
'Usage
Dim instance As CatalogDefinitionsDataSet..::.CatalogDefinitionsDataTable
Dim DefinitionName As String
Dim DefinitionType As Integer
Dim Description As String
Dim returnValue As CatalogDefinitionsDataSet..::.CatalogDefinition

returnValue = instance.AddCatalogDefinition(DefinitionName, _
    DefinitionType, Description)
public CatalogDefinitionsDataSet..::.CatalogDefinition AddCatalogDefinition(
    string DefinitionName,
    int DefinitionType,
    string Description
)
public:
CatalogDefinitionsDataSet..::.CatalogDefinition^ AddCatalogDefinition(
    String^ DefinitionName, 
    int DefinitionType, 
    String^ Description
)
public function AddCatalogDefinition(
    DefinitionName : String, 
    DefinitionType : int, 
    Description : String
) : CatalogDefinitionsDataSet..::.CatalogDefinition

Parameters

Return Value

Type: Microsoft.CommerceServer.Catalog..::.CatalogDefinitionsDataSet..::.CatalogDefinition
A CatalogDefinitionsDataSet..::.CatalogDefinition containing the added Definition

Remarks

The CatalogDefinitionsDataSet..::.CatalogDefinitionsDataTable object must be saved before these changes will be persisted to the database.

Permissions

See Also

Reference

CatalogDefinitionsDataSet..::.CatalogDefinitionsDataTable Class

CatalogDefinitionsDataSet..::.CatalogDefinitionsDataTable Members

AddCatalogDefinition Overload

Microsoft.CommerceServer.Catalog Namespace