Share via


GetEnumerationPropertyValues Method

NOTE: This API is now obsolete. The non-obsolete alternative is [A M:Microsoft.CommerceServer.Catalog.CatalogContext.GetProperty(System.String) object.].

(Obsolete) Use GetProperty and EnumerationValues instead. Returns the list of enumeration values for an enumeration property.

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

Syntax

'Declaration
<ObsoleteAttribute("CatalogContext.GetEnumerationPropertyValues should not be used, use CatalogContext.GetProperty() and Property.EnumerationValues instead.")> _
Public Function GetEnumerationPropertyValues ( _
    propertyName As String _
) As DataSet
'Usage
Dim instance As CatalogContext
Dim propertyName As String
Dim returnValue As DataSet

returnValue = instance.GetEnumerationPropertyValues(propertyName)
[ObsoleteAttribute("CatalogContext.GetEnumerationPropertyValues should not be used, use CatalogContext.GetProperty() and Property.EnumerationValues instead.")]
public DataSet GetEnumerationPropertyValues(
    string propertyName
)
[ObsoleteAttribute(L"CatalogContext.GetEnumerationPropertyValues should not be used, use CatalogContext.GetProperty() and Property.EnumerationValues instead.")]
public:
DataSet^ GetEnumerationPropertyValues(
    String^ propertyName
)
public function GetEnumerationPropertyValues(
    propertyName : String
) : DataSet

Parameters

Return Value

Type: System.Data..::.DataSet
Returns the list of enumeration values for an enumeration property.

Remarks

Returns an empty DataSet for a non-enumeration property.

Permissions

See Also

Reference

CatalogContext Class

CatalogContext Members

Microsoft.CommerceServer.Catalog Namespace