IVsTextMarkerType.GetDisplayName(String) Method

Definition

Returns the display name of the custom marker type.

public:
 int GetDisplayName([Runtime::InteropServices::Out] System::String ^ % pbstrName);
int GetDisplayName([Runtime::InteropServices::Out] std::wstring const & & pbstrName);
public int GetDisplayName (out string pbstrName);
abstract member GetDisplayName : string -> int
Public Function GetDisplayName (ByRef pbstrName As String) As Integer

Parameters

pbstrName
String

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

Returns

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

Remarks

COM Signature

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.

Applies to