IsMultivalued Property

The IsMultivalued property contains the flag that indicates whether a single property can contain multiple values.

Property IsMultivalued As Boolean[C++]
Get method:
HRESULT get_IsMultivalued(VARIANT_BOOL*pIsMultivalued);
Put method:
HRESULT put_IsMultivalued(VARIANT_BOOLvarIsMultivalued);

[Visual Basic]

Parameters

None.

Return Values

This property returns a Boolean that contains the flag that indicates whether a single property can contain multiple values.

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:

  • pIsMultivalued
    [out, retval] Pointer to a VARIANT_BOOL that contains the flag that indicates whether a single property can contain multiple values.

Put method:

  • varIsMultivalued
    [in] VARIANT_BOOL that contains the flag that indicates whether a single property can contain multiple values.
Return Values

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

Remarks

If the IsMultivalued property is VARIANT_TRUE, multiple values are allowed. If the flag is VARIANT_FALSE, the defined property can have only a single value. Only string properties can be multi-valued. All multi-valued properties must be associated with a dictionary.

Example

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