DisplayName Property

The DisplayName property specifies the name that is displayed for this object.

Property DisplayName As String[C++]
Get method:
HRESULT get_DisplayName(BSTR*varDisplayName);

[Visual Basic]

Parameters

None.

Return Values

This property returns String that contains the display 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:

  • varDisplayName
    [out, retval] Pointer to a BSTR that contains the display name.
Return Values

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

Remarks

This is a read-only property. The DisplayName property is usually set to the file name of the item. DisplayName corresponds to the "DAV:displayname" searchable property.