指定された型に基づいて、機能コネクタに関連付けられた機能プロバイダーの新しいリストを作成します。
名前空間: Microsoft.Windows.Design.Features
アセンブリ: Microsoft.Windows.Design.Extensibility (Microsoft.Windows.Design.Extensibility.dll 内)
構文
'宣言
Protected Function CreateFeatureProviders ( _
type As Type _
) As IEnumerable(Of TFeatureProviderType)
protected IEnumerable<TFeatureProviderType> CreateFeatureProviders(
Type type
)
protected:
IEnumerable<TFeatureProviderType>^ CreateFeatureProviders(
Type^ type
)
member CreateFeatureProviders :
type:Type -> IEnumerable<'TFeatureProviderType>
protected function CreateFeatureProviders(
type : Type
) : IEnumerable<TFeatureProviderType>
パラメーター
- type
型: System.Type
機能プロバイダーを問い合わせる Type。
戻り値
型: System.Collections.Generic.IEnumerable<TFeatureProviderType>
機能プロバイダーの列挙体。
例外
例外 | 条件 |
---|---|
ArgumentNullException | type は nullnull 参照 (Visual Basic では Nothing) なので、 |
解説
機能プロバイダーは、type 上の属性のリフレクションを介して検出されます。
.NET Framework セキュリティ
- 直前の呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されているコードから使用することはできません。 詳細については、「部分信頼コードからのライブラリの使用」を参照してください。
参照
参照
FeatureConnector<TFeatureProviderType> クラス
CreateFeatureProviders オーバーロード
Microsoft.Windows.Design.Features 名前空間