_Solution.Extender[String] Özellik

Tanım

Bu nesne için kullanılabilir durumdaysa istenen Genişletici nesnesini alır.

public:
 property System::Object ^ Extender[System::String ^] { System::Object ^ get(System::String ^ ExtenderName); };
[System.Runtime.InteropServices.DispId(33)]
public object Extender[string ExtenderName] { [System.Runtime.InteropServices.DispId(33)] [System.Runtime.InteropServices.TypeLibFunc(1024)] get; }
[<System.Runtime.InteropServices.DispId(33)>]
[<get: System.Runtime.InteropServices.DispId(33)>]
[<get: System.Runtime.InteropServices.TypeLibFunc(1024)>]
member this.Extender(string) : obj
Public ReadOnly Property Extender(ExtenderName As String) As Object

Parametreler

ExtenderName
String

Gereklidir. Döndürülecek Genişletici adı.

Özellik Değeri

Object

Bir genişletici nesnesi.

Öznitelikler

Örnekler

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  

Açıklamalar

Bu özellik null , kullanılabilir bir genişletici nesnesi yoksa döndürür.

Genişletici 'in elde edilmesi için kullanılan CATıD nesnenin özelliği tarafından verilir ExtenderCATID .

Şunlara uygulanır