共用方式為


IFsrmPropertyDefinition.ValueDescriptions Property

 

Retrieves or sets the descriptions for each of the possible values specified in the PossibleValues property.

Namespace:   Microsoft.Storage
Assembly:  srmlib (in srmlib.dll)

Syntax

object[] ValueDescriptions { get; set; }
property array<Object^>^ ValueDescriptions {
    array<Object^>^ get();
    void set(array<Object^>^ value);
}
abstract ValueDescriptions : Object[] with get, set
Property ValueDescriptions As Object()

Property Value

Type: System.Object[]

A Object containing A SAFEARRAY of VARIANTs that contains the descriptions of each of the possible values specified in the Possible PossibleValues property. Set the variant type of each variant to VT_BSTR. Use the bstrVal member to specify the description of the possible value.

Each description is limited to 1,000 characters. If you do not want to specify descriptions, set to NULL or an empty array.

Remarks

There is a one-to-one relationship between these descriptions and the list of possible values specified in the PossibleValues property. If you do not want to specify a description for one of the values in the list, set the corresponding item in the array to an empty string.

See Also

IFsrmPropertyDefinition Interface
Microsoft.Storage Namespace

Return to top