ColorableItem::GetCanonicalName Method (String^)

 

Gets the canonical name of a colorable item.

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

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

Parameters

name
Type: System::String^

[out] A string containing the canonical name of this colorable item.

Return Value

Type: System::Int32

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

This method is an implementation of the GetCanonicalName method in the IVsMergeableUIItem interface.

The base method returns the colorable item's name and a success code of E_NOTIMPL.

Return to top
Show: