共用方式為


IVsMergeableUIItem.GetCanonicalName(String) Method

Definition

Returns non-localized item name, used for comparison in inter-language merging of items.

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

Parameters

pbstrNonLocalizeName
String

[out] String containing the canonical 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::GetCanonicalName(  
   [out] BSTR *pbstrNonLocalizeName  
);  

Applies to