Metodo FlavoredProject.IVsHierarchy.GetCanonicalName

Ottiene un nome univoco di un elemento nella gerarchia.Utilizzato per la persistenza dell'area di lavoro, come memorizzazione delle posizioni delle finestre.

Spazio dei nomi:  Microsoft.VisualStudio.Shell.Flavor
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Sintassi

'Dichiarazione
Private Function GetCanonicalName ( _
    itemId As UInteger, _
    <OutAttribute> ByRef name As String _
) As Integer Implements IVsHierarchy.GetCanonicalName
int IVsHierarchy.GetCanonicalName(
    uint itemId,
    out string name
)

Parametri

  • name
    Tipo: System.String%
    [out] Il nome canonico dell'elemento.

Valore restituito

Tipo: System.Int32
Se il metodo ha esito positivo, restituisce S_OK.Se non riesce, restituisce un codice di errore.

Implementa

IVsHierarchy.GetCanonicalName(UInt32, String%)

Note

Questo metodo chiama il metodo di GetCanonicalName , che chiama il metodo di GetCanonicalName nel progetto interno.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

FlavoredProject Classe

Spazio dei nomi Microsoft.VisualStudio.Shell.Flavor