ColorableItem.GetDisplayName(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the name of this colorable item.
public:
virtual int GetDisplayName([Runtime::InteropServices::Out] System::String ^ % name);
virtual int GetDisplayName([Runtime::InteropServices::Out] std::wstring const & & name);
public virtual int GetDisplayName (out string name);
abstract member GetDisplayName : string -> int
override this.GetDisplayName : string -> int
Public Overridable Function GetDisplayName (ByRef name As String) As Integer
Parameters
- name
- String
[out] The name of the colorable item.
Returns
If successful, returns S_OK; otherwise, returns an error code.
Implements
Remarks
The name returned is the one passed to the constructor as the display name.
The base method always returns S_OK.