DictionaryValues Property

The DictionaryValues property specifies the list of property values for this object.

Syntax
Property DictionaryValues As Variant[C++]
Get method:
HRESULT get_DictionaryValues(VARIANT*pDictionaryValues);
Put method:
HRESULT put_DictionaryValues(VARIANTvarDictionaryValues);

[Visual Basic]

Parameters

None

Return Values

This property returns a Variant that contains an array of Variants. Each Variant in the array contains a String that contains a possible value for a property.

Error Values

If an error is raised, Err.Number is set to one of the values documented on the Error Messages page.

[C++]

Parameters

Get method:

  • pDictionaryValues
    [out, retval] Pointer to a VARIANT that contains an array of VARIANTs. Each VARIANT in the array contains a BSTR that contains a possible value for a property. Defaults to an empty array.

Put method:

  • varDictionaryValues
    [in] VARIANT that contains an array of VARIANTs. Each VARIANT in the array contains a BSTR that contains a possible value for a property. Defaults to an empty array.
Return Values

For a list of error messages returned by SharePoint Portal Server, see Error Messages.

Remarks

Property values other than those defined by the DictionaryValues property can be assigned if the IsRestricted property is set to VARIANT_FALSE. Otherwise, property values not defined by DictionaryValues are invalid.

Example

To see this property in a fuller context, see Document Management Object Model Sample.