ProjectItem.Extender[String] 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
如果请求的 扩展程序 可用于此对象,则获取该扩展程序。
public:
property System::Object ^ Extender[System::String ^] { System::Object ^ get(System::String ^ ExtenderName); };
[System.Runtime.InteropServices.DispId(109)]
public object Extender[string ExtenderName] { [System.Runtime.InteropServices.DispId(109)] [System.Runtime.InteropServices.TypeLibFunc(1024)] get; }
[<System.Runtime.InteropServices.DispId(109)>]
[<get: System.Runtime.InteropServices.DispId(109)>]
[<get: System.Runtime.InteropServices.TypeLibFunc(1024)>]
member this.Extender(string) : obj
Public ReadOnly Property Extender(ExtenderName As String) As Object
参数
- ExtenderName
- String
必需。 要返回的扩展程序名称。
属性值
一个 扩展程序 对象。
- 属性
示例
Sub ExtenderExample()
Dim extender As Object
extender = DTE.Solution.Extender("SolutionMisc")
MsgBox(extender.Notes)
End Sub
注解
null如果没有可用的扩展程序对象,则此属性返回。
用于获取扩展器的 CATID 由对象的 ExtenderCATID 属性指定。