Reference.ExtenderNames Propriedade

Definição

Obtém uma lista de extensores disponíveis para o objeto.

public:
 property System::Object ^ ExtenderNames { System::Object ^ get(); };
public:
 property Platform::Object ^ ExtenderNames { Platform::Object ^ get(); };
[System.Runtime.InteropServices.DispId(19)]
public object ExtenderNames { [System.Runtime.InteropServices.DispId(19)] [System.Runtime.InteropServices.TypeLibFunc(1088)] get; }
[<System.Runtime.InteropServices.DispId(19)>]
[<get: System.Runtime.InteropServices.DispId(19)>]
[<get: System.Runtime.InteropServices.TypeLibFunc(1088)>]
member this.ExtenderNames : obj
Public ReadOnly Property ExtenderNames As Object

Valor da propriedade

Object

Um objeto que contém uma matriz de cadeias de caracteres compatível com automação.

Atributos

Exemplos

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);  
}  

Comentários

Retorna os nomes dos extensores aplicáveis no momento para esse objeto usando o CATID conforme especificado por sua ExtenderCATID propriedade.

Aplica-se a