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
- propertyName
Type: System..::.String
Name of enumeration property.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.