Keywords Property

The Keywords property specifies the list of keywords or phrases for this document.

Property Keywords As Variant[C++]
Get method:
HRESULT Keywords(VARIANT*pKeywords);
Put method:
HRESULT Keywords(VARIANTvarKeywords);

[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 key word or phrase.

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:

  • pKeywords
    [out, retval] Pointer to a VARIANT that contains an array of VARIANTs. Each VARIANT in the array contains a BSTR that contains a key word or phrase. Defaults to an empty array.

Put method:

  • varKeywords
    [in] VARIANT that contains an array of VARIANTs. Each VARIANT in the array contains a BSTR that contains a key word or phrase.
Return Values

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

Example

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