Reference.Extender[String] Свойство

Определение

Возвращает запрашиваемый объект-расширитель, если он доступен для данного объекта.

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

Параметры

ExtenderName
String

Обязательный. Имя возвращаемого расширителя.

Значение свойства

Object

Это свойство возвращает значение Nothing или null — объект расширителя недоступен.

Атрибуты

Примеры

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  

Комментарии

Идентификатор CATID, используемый для получения расширителя, задается ExtenderCATID свойством объекта.

Применяется к