Compartilhar via


ColorableItem.GetDisplayName(String) Method

Definition

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.

Applies to