Proprietà Solution4.Extender (String)

Ottiene l'oggetto Extender richiesto, se disponibile per l'oggetto.

Spazio dei nomi:  EnvDTE100
Assembly:  EnvDTE100 (in EnvDTE100.dll)

Sintassi

'Dichiarazione
ReadOnly Property Extender ( _
    ExtenderName As String _
) As Object
Object this[
    string ExtenderName
] { get; }
property Object^ Extender[[InAttribute] String^ ExtenderName] {
    Object^ get ([InAttribute] String^ ExtenderName);
}
abstract Extender : Object
JScript non supporta le proprietà indicizzate.

Parametri

  • ExtenderName
    Tipo: System.String
    Obbligatorio.Nome dell'oggetto Extender da restituire.

Valore proprietà

Tipo: System.Object
Un oggetto Extender.

Note

Extender restituisce Nothing o nullriferimento null (Nothing in Visual Basic) se non sono disponibili oggetti Extender.

Il CATID utilizzato per ottenere l'Extender viene specificato dalla proprietà ExtenderCATID dell'oggetto.

Esempi

Per informazioni sulla modalità di esecuzione di questo codice di componente aggiuntivo, vedere Procedura: compilare ed eseguire gli esempi di codice del modello a oggetti di automazione.

Sub ExtenderExample()
   ' You should have built and installed the Solution Extender
   ' sample in the Visual Studio Automation Samples directory for 
   ' this to work correctly.
   Dim extender As Object
   extender = DTE.Solution.Extender("SolutionMisc")
   MsgBox(extender.Notes)
End Sub

Sicurezza di .NET Framework

Vedere anche

Riferimenti

Solution4 Interfaccia

Overload Extender

Spazio dei nomi EnvDTE100