Freigeben über


IVsMergeableUIItem.GetDisplayName(String) Method

Definition

Returns the localized item name used for display in UI.

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

Parameters

pbstrDisplayName
String

[out] String containing the display name.

Returns

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

Remarks

COM Signature

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.

Applies to