次の方法で共有


ExtensionManager.GetExtension<TInterfaceType> メソッド (String, String)

指定されたアセンブリ名と型名を使用して、現在の ExtensionManager に読み込まれている拡張機能から 1 つの拡張機能を検索します。

名前空間:  Microsoft.Data.Schema.Extensibility
アセンブリ:  Microsoft.Data.Schema (Microsoft.Data.Schema.dll 内)

構文

'宣言
Public Function GetExtension(Of TInterfaceType As {Class, IExtension}) ( _
    assemblyName As String, _
    typeFullName As String _
) As ExtensionHandle(Of TInterfaceType)
public ExtensionHandle<TInterfaceType> GetExtension<TInterfaceType>(
    string assemblyName,
    string typeFullName
)
where TInterfaceType : class, IExtension
public:
generic<typename TInterfaceType>
where TInterfaceType : ref class, IExtension
ExtensionHandle<TInterfaceType>^ GetExtension(
    String^ assemblyName, 
    String^ typeFullName
)
member GetExtension : 
        assemblyName:string * 
        typeFullName:string -> ExtensionHandle<'TInterfaceType>  when 'TInterfaceType : not struct and IExtension
JScript では、ジェネリックな型またはメソッドは使用できません。

型パラメーター

パラメーター

  • assemblyName
    型: System.String
    アセンブリの名前を格納している string。
  • typeFullName
    型: System.String
    完全修飾型名を格納している string。

戻り値

型: Microsoft.Data.Schema.Extensibility.ExtensionHandle<TInterfaceType>
IExtension 型の ExtensionHandle<TInterfaceType>

.NET Framework セキュリティ

  • 直前の呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されているコードから使用することはできません。 詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

参照

ExtensionManager クラス

GetExtension オーバーロード

Microsoft.Data.Schema.Extensibility 名前空間

GetExtension

ExtensionHandle<TInterfaceType>

IExtension