Share via


Name Property

The Name property specifies the name or URI of the dictionary. The name is taken from the Extensible Markup Language (XML) data construct used in the schema to identify the dictionary.

Syntax
Property Name As String[C++]
Get method:
HRESULT get_Name(BSTR*pName);
Put method:
HRESULT put_Name(BSTRvarName);

[Visual Basic]

Parameters

None

Return Values

This property returns a String that contains the name.

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:

  • pName
    [out, retval] Pointer to a BSTR that contains the name.

Put method:

  • varName
    [in] BSTR that contains the name.
Return Values

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

Remarks

The Name property defaults to an empty string.

Example

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