現在の ExtensionManager に構成が存在しない、渡された型の有効な拡張機能があるかどうかをチェックします。
名前空間 : Microsoft.Data.Schema.Extensibility
アセンブリ : Microsoft.Data.Schema (Microsoft.Data.Schema.dll 内)
構文
'宣言
Public Function IsExtension(Of TInterfaceType As {Class, IExtension}) ( _
type As Type _
) As Boolean
'使用
Dim instance As ExtensionManager
Dim type As Type
Dim returnValue As Boolean
returnValue = instance.IsExtension(type)
public bool IsExtension<TInterfaceType>(
Type type
)
where TInterfaceType : class, IExtension
public:
generic<typename TInterfaceType>
where TInterfaceType : ref class, IExtension
bool IsExtension(
Type^ type
)
JScript では、ジェネリックな型またはメソッドは使用できません。
型パラメータ
- TInterfaceType
パラメータ
- type
型 : System.Type
Type は、拡張機能ではない型です。
戻り値
型 : System.Boolean
構成が存在しない、渡された型の有効な拡張機能がある場合、Boolean は True を返します。