IComponentModel.GetExtensions<T> 方法

命名空间:  Microsoft.VisualStudio.ComponentModelHost
程序集:  Microsoft.VisualStudio.ComponentModelHost(在 Microsoft.VisualStudio.ComponentModelHost.dll 中)

语法

声明
Function GetExtensions(Of T As Class) As IEnumerable(Of T)
IEnumerable<T> GetExtensions<T>()
where T : class
generic<typename T>
where T : ref class 
IEnumerable<T>^ GetExtensions()
abstract GetExtensions : unit -> IEnumerable<'T>  when 'T : not struct
JScript 不支持泛型类型或方法。

类型参数

  • T

返回值

类型:IEnumerable<T>

.NET Framework 安全性

请参阅

参考

IComponentModel 接口

Microsoft.VisualStudio.ComponentModelHost 命名空间