_Solution.ExtenderNames Propriété
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient une liste d'extendeurs disponibles pour l'objet.
public:
property System::Object ^ ExtenderNames { System::Object ^ get(); };
public:
property Platform::Object ^ ExtenderNames { Platform::Object ^ get(); };
[System.Runtime.InteropServices.DispId(34)]
public object ExtenderNames { [System.Runtime.InteropServices.DispId(34)] [System.Runtime.InteropServices.TypeLibFunc(1024)] get; }
[<System.Runtime.InteropServices.DispId(34)>]
[<get: System.Runtime.InteropServices.DispId(34)>]
[<get: System.Runtime.InteropServices.TypeLibFunc(1024)>]
member this.ExtenderNames : obj
Public ReadOnly Property ExtenderNames As Object
Valeur de propriété
Objet contenant un tableau de chaînes compatible Automation.
- Attributs
Exemples
Sub ExtenderNamesExample(ByVal dte As DTE2)
Dim names() As String = CType(dte.Solution.ExtenderNames, String())
Dim exts, name As String
For Each name In names
exts &= name & vbCrLf
Next
MsgBox(dte.Solution.FullName & " has the following extenders:" & _
vbCrLf & vbCrLf & exts)
End Sub
public void ExtenderNamesExample(DTE2 dte)
{
string[] names = (string[])dte.Solution.ExtenderNames;
string exts = "";
foreach (string name in names)
{
exts += name + Environment.NewLine;
}
MessageBox.Show(dte.Solution.FullName +
" has the following extenders:" + Environment.NewLine +
Environment.NewLine + exts);
}
Remarques
Retourne les noms des extendeurs actuellement applicables pour cet objet à l’aide du CATID comme spécifié par sa ExtenderCATID propriété.