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.
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.