ContentClasses Property

The ContentClasses property contains the content classes defined for the workspace.

Property ContentClasses As Variant[C++]
Get method: 
HRESULT get_ContentClasses(VARIANT*varContentClasses);

[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 the Uniform Resource Identifiers (URI) of all of the content classes in the workspace.

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:

  • varContentClasses
    [out, retval] Pointer to a VARIANT that contains an array of VARIANTs. Each VARIANT in the array contains a BSTR that contains an array of the Uniform Resource Identifiers (URI) of all of the content classes in the workspace.
Return Values

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

Remarks

This is a read-only property.