次の方法で共有


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

渡された型の有効な拡張機能が現在の ExtensionManager にあるかどうかをチェックし、構成が読み込まれていることを確認します。

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

構文

'宣言
Public Function IsExtension(Of TInterfaceType As {Class, IExtension}) ( _
    type As Type, _
    configName As String _
) As Boolean
'使用
Dim instance As ExtensionManager
Dim type As Type
Dim configName As String
Dim returnValue As Boolean

returnValue = instance.IsExtension(type, _
    configName)
public bool IsExtension<TInterfaceType>(
    Type type,
    string configName
)
where TInterfaceType : class, IExtension
public:
generic<typename TInterfaceType>
where TInterfaceType : ref class, IExtension
bool IsExtension(
    Type^ type, 
    String^ configName
)
JScript では、ジェネリックな型またはメソッドは使用できません。

型パラメータ

  • TInterfaceType

パラメータ

戻り値

型 : System.Boolean
構成が存在する、渡された型の有効な拡張機能がある場合、Boolean は True を返します。

参照

参照

ExtensionManager クラス

ExtensionManager メンバ

IsExtension オーバーロード

Microsoft.Data.Schema.Extensibility 名前空間