ColorableItem.GetDisplayName(String) Method

Definition

Gets the display name of the custom ColorableItem object.

public:
 virtual int GetDisplayName([Runtime::InteropServices::Out] System::String ^ % pbstrName);
public int GetDisplayName (out string pbstrName);
abstract member GetDisplayName : string -> int
override this.GetDisplayName : string -> int
Public Function GetDisplayName (ByRef pbstrName As String) As Integer

Parameters

pbstrName
String

An [out] parameter that returns a localized string containing the display name for the custom colorable item.

Returns

An integer value that specifies a defined result. If the method succeeds, it returns S_OK. If it fails, it throws an appropriate exception.

Implements

Applies to