Share via


IVsMergeableUIItem.GetCanonicalName Method

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

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

Syntax

'Declaration
Function GetCanonicalName ( _
    <OutAttribute> ByRef pbstrNonLocalizeName As String _
) As Integer
int GetCanonicalName(
    out string pbstrNonLocalizeName
)
int GetCanonicalName(
    [OutAttribute] String^% pbstrNonLocalizeName
)
abstract GetCanonicalName : 
        pbstrNonLocalizeName:string byref -> int
function GetCanonicalName(
    pbstrNonLocalizeName : String
) : int

Parameters

  • pbstrNonLocalizeName
    Type: System.String%

    [out] String containing the canonical name.

Return Value

Type: System.Int32
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
);

.NET Framework Security

See Also

Reference

IVsMergeableUIItem Interface

Microsoft.VisualStudio.TextManager.Interop Namespace