指定された Type に一致する ExtensionHandle<TInterfaceType> を取得します。
名前空間: Microsoft.Data.Schema.Extensibility
アセンブリ: Microsoft.Data.Schema (Microsoft.Data.Schema.dll 内)
構文
'宣言
Public Function GetExtension(Of TInterfaceType As {Class, IExtension}) ( _
extensionType As Type _
) As ExtensionHandle(Of TInterfaceType)
public ExtensionHandle<TInterfaceType> GetExtension<TInterfaceType>(
Type extensionType
)
where TInterfaceType : class, IExtension
public:
generic<typename TInterfaceType>
where TInterfaceType : ref class, IExtension
ExtensionHandle<TInterfaceType>^ GetExtension(
Type^ extensionType
)
member GetExtension :
extensionType:Type -> ExtensionHandle<'TInterfaceType> when 'TInterfaceType : not struct and IExtension
JScript では、ジェネリックな型またはメソッドは使用できません。
型パラメーター
- TInterfaceType
IExtension から継承された Type。
パラメーター
- extensionType
型: System.Type
Type は拡張機能の種類を識別します。
戻り値
型: Microsoft.Data.Schema.Extensibility.ExtensionHandle<TInterfaceType>
IExtension 型の ExtensionHandle<TInterfaceType>。
.NET Framework セキュリティ
- 直前の呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されているコードから使用することはできません。 詳細については、「部分信頼コードからのライブラリの使用」を参照してください。