CatalogContext.GetEnumerationPropertyValues (String) Method (BCL)

Use this method to return all possible values for a catalog property of type CatalogDataType_Enumeration.

[Visual Basic .NET]

Overridable Public Function GetEnumerationPropertyValues( _ByValpropertyName As System.String _
) As System.Data.DataSet

[C#]

public virtual System.Data.DataSet GetEnumerationPropertyValues(System.StringpropertyName);

Parameters

[Visual Basic .NET]

  • propertyName
    The name of the property to return enumerations for. May not be null.

[C#]

  • propertyName
    The name of the property to return enumerations for. May not be null.

Return Value

A DataSet with a single DataTable containing enumeration property values.

Remarks

Throws an ArgumentNullException if the propertyName parameter is null. Throws a CatalogException on failure.

Requirements

Namespace: Microsoft.CommerceServer.Runtime.Catalog

Platforms: Windows 2000, Windows Server 2003

Assembly: Microsoft.CommerceServer.Runtime.dll

Copyright © 2005 Microsoft Corporation.
All rights reserved.