IVsMergeableUIItem::GetDisplayName Method (String^)

 

Returns the localized item name used for display in UI.

Namespace:   Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

int GetDisplayName(
	[OutAttribute] String^% pbstrDisplayName
)

Parameters

pbstrDisplayName
Type: System::String^

[out] String containing the display name.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

From textmgr.idl:

HRESULT IVsMergeableUIItem::GetDisplayName(
   [out] BSTR *pbstrDisplayName
);

For package-defined marker types, we also get the localized name by way of a string resource put into the registry key for this external marker.

Return to top
Show: