ExtensionManager.IsExtension<TInterfaceType> メソッド (Type)
現在のインスタンスに、構成を持たない、指定された種類に一致する有効な拡張機能があるかどうかを確認します。
名前空間: Microsoft.Data.Schema.Extensibility
アセンブリ: Microsoft.Data.Schema (Microsoft.Data.Schema.dll 内)
構文
'宣言
Public Function IsExtension(Of TInterfaceType As {Class, IExtension}) ( _
type As Type _
) As Boolean
public bool IsExtension<TInterfaceType>(
Type type
)
where TInterfaceType : class, IExtension
public:
generic<typename TInterfaceType>
where TInterfaceType : ref class, IExtension
bool IsExtension(
Type^ type
)
member IsExtension :
type:Type -> bool when 'TInterfaceType : not struct and IExtension
JScript では、ジェネリックな型またはメソッドは使用できません。
型パラメーター
- TInterfaceType
IExtension インターフェイスから派生するインターフェイス。
パラメーター
- type
型: System.Type
TInterfaceType インターフェイスを実装している Type。
戻り値
型: System.Boolean
登録済みの構成を持たない、渡された種類の有効な拡張機能がある場合は true。それ以外の場合は false。
.NET Framework セキュリティ
- 直前の呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されているコードから使用することはできません。 詳細については、「部分信頼コードからのライブラリの使用」を参照してください。