3.2.4.2.38.3 DisplayName (put) (Opnum 24)

The DisplayName (put) method sets the Property Definition.Display Name of the property definition.

 [propput, id(FSRM_PROPERTY(FSRM_DISPID_PROPERTY_DEFINITION2 | 0x02)), helpstring("This property is the display name of the property definition")] HRESULT DisplayName(
   [in] BSTR name
 );

name: Contains the Property Definition.Display Name for the property definition to use. The maximum length of this string MUST be 100 characters.

Return Values: The method MUST return zero on success or a nonzero error code on failure.

Return value/code

Description

0x80070057

E_INVALIDARG

The name parameter is not a valid value.

The server MUST use name as the Property Definition.Display Name for the property definition or return a nonzero error code.