ColorableItem::GetDisplayName Method (String^)

 

Returns the name of this colorable item.

Namespace:   Microsoft.VisualStudio.Package
Assembly:  Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)

public:
virtual int GetDisplayName(
	[OutAttribute] String^% name
)

Parameters

name
Type: System::String^

[out] The name of the colorable item.

Return Value

Type: System::Int32

If successful, returns S_OK; otherwise, returns an error code.

The name returned is the one passed to the constructor as the display name.

The base method always returns S_OK.

Return to top
Show: