IVsTextMarkerType::GetDisplayName Method (String^)

 

Returns the display name of the custom marker type.

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

int GetDisplayName(
	[OutAttribute] String^% pbstrName
)

Parameters

pbstrName
Type: System::String^

[out] Pointer to the display name for the custom marker type.

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 IVsTextMarkerType::GetDisplayName(
   [out] BSTR *pbstrName
);

The display name is shown in the Options dialog box. The display name must be localized to the appropriate language.

Return to top
Show: