PartBuilder.ImportProperties メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
インポートする必要があるプロパティのセットを一致する型で指定します。
オーバーロード
ImportProperties(Predicate<PropertyInfo>) |
インポートする必要があるプロパティのセットを一致する型で指定します。 |
ImportProperties(Predicate<PropertyInfo>, Action<PropertyInfo,ImportBuilder>) |
インポートするものとしてマークされる必要があり、結果のインポートに構成情報を提供するプロパティのセットを一致の型で指定します。 |
ImportProperties<T>(Predicate<PropertyInfo>) |
指定されたコントラクトの型を使用して、インポートするものとしてマークされる必要があるプロパティのセットを一致の型で指定します。 |
ImportProperties<T>(Predicate<PropertyInfo>, Action<PropertyInfo,ImportBuilder>) |
指定したコントラクト型を使用してインポートされるものとしてマークされる必要があり、結果のインポートに構成情報を提供するプロパティのセットを一致する型で指定します。 |
ImportProperties(Predicate<PropertyInfo>)
- ソース:
- PartBuilder.cs
- ソース:
- PartBuilder.cs
- ソース:
- PartBuilder.cs
インポートする必要があるプロパティのセットを一致する型で指定します。
public:
System::ComponentModel::Composition::Registration::PartBuilder ^ ImportProperties(Predicate<System::Reflection::PropertyInfo ^> ^ propertyFilter);
public System.ComponentModel.Composition.Registration.PartBuilder ImportProperties (Predicate<System.Reflection.PropertyInfo> propertyFilter);
member this.ImportProperties : Predicate<System.Reflection.PropertyInfo> -> System.ComponentModel.Composition.Registration.PartBuilder
Public Function ImportProperties (propertyFilter As Predicate(Of PropertyInfo)) As PartBuilder
パラメーター
- propertyFilter
- Predicate<PropertyInfo>
一連のプロパティを指定する述語。
戻り値
チェーンを許可するための現在のオブジェクト。
例外
propertyFilter
が null
です。
適用対象
ImportProperties(Predicate<PropertyInfo>, Action<PropertyInfo,ImportBuilder>)
- ソース:
- PartBuilder.cs
- ソース:
- PartBuilder.cs
- ソース:
- PartBuilder.cs
インポートするものとしてマークされる必要があり、結果のインポートに構成情報を提供するプロパティのセットを一致の型で指定します。
public:
System::ComponentModel::Composition::Registration::PartBuilder ^ ImportProperties(Predicate<System::Reflection::PropertyInfo ^> ^ propertyFilter, Action<System::Reflection::PropertyInfo ^, System::ComponentModel::Composition::Registration::ImportBuilder ^> ^ importConfiguration);
public System.ComponentModel.Composition.Registration.PartBuilder ImportProperties (Predicate<System.Reflection.PropertyInfo> propertyFilter, Action<System.Reflection.PropertyInfo,System.ComponentModel.Composition.Registration.ImportBuilder> importConfiguration);
member this.ImportProperties : Predicate<System.Reflection.PropertyInfo> * Action<System.Reflection.PropertyInfo, System.ComponentModel.Composition.Registration.ImportBuilder> -> System.ComponentModel.Composition.Registration.PartBuilder
Public Function ImportProperties (propertyFilter As Predicate(Of PropertyInfo), importConfiguration As Action(Of PropertyInfo, ImportBuilder)) As PartBuilder
パラメーター
- propertyFilter
- Predicate<PropertyInfo>
一連のプロパティを指定する述語。
- importConfiguration
- Action<PropertyInfo,ImportBuilder>
インポートに関する構成情報を格納するオブジェクト。 既定値は null
です。
戻り値
チェーンを許可するための現在のオブジェクト。
例外
propertyFilter
が null
です。
適用対象
ImportProperties<T>(Predicate<PropertyInfo>)
- ソース:
- PartBuilder.cs
- ソース:
- PartBuilder.cs
- ソース:
- PartBuilder.cs
指定されたコントラクトの型を使用して、インポートするものとしてマークされる必要があるプロパティのセットを一致の型で指定します。
public:
generic <typename T>
System::ComponentModel::Composition::Registration::PartBuilder ^ ImportProperties(Predicate<System::Reflection::PropertyInfo ^> ^ propertyFilter);
public System.ComponentModel.Composition.Registration.PartBuilder ImportProperties<T> (Predicate<System.Reflection.PropertyInfo> propertyFilter);
member this.ImportProperties : Predicate<System.Reflection.PropertyInfo> -> System.ComponentModel.Composition.Registration.PartBuilder
Public Function ImportProperties(Of T) (propertyFilter As Predicate(Of PropertyInfo)) As PartBuilder
型パラメーター
- T
コントラクトの型。
パラメーター
- propertyFilter
- Predicate<PropertyInfo>
一連のプロパティを指定する述語。
戻り値
チェーンを許可するための現在のオブジェクト。
例外
propertyFilter
が null
です。
適用対象
ImportProperties<T>(Predicate<PropertyInfo>, Action<PropertyInfo,ImportBuilder>)
- ソース:
- PartBuilder.cs
- ソース:
- PartBuilder.cs
- ソース:
- PartBuilder.cs
指定したコントラクト型を使用してインポートされるものとしてマークされる必要があり、結果のインポートに構成情報を提供するプロパティのセットを一致する型で指定します。
public:
generic <typename T>
System::ComponentModel::Composition::Registration::PartBuilder ^ ImportProperties(Predicate<System::Reflection::PropertyInfo ^> ^ propertyFilter, Action<System::Reflection::PropertyInfo ^, System::ComponentModel::Composition::Registration::ImportBuilder ^> ^ importConfiguration);
public System.ComponentModel.Composition.Registration.PartBuilder ImportProperties<T> (Predicate<System.Reflection.PropertyInfo> propertyFilter, Action<System.Reflection.PropertyInfo,System.ComponentModel.Composition.Registration.ImportBuilder> importConfiguration);
member this.ImportProperties : Predicate<System.Reflection.PropertyInfo> * Action<System.Reflection.PropertyInfo, System.ComponentModel.Composition.Registration.ImportBuilder> -> System.ComponentModel.Composition.Registration.PartBuilder
Public Function ImportProperties(Of T) (propertyFilter As Predicate(Of PropertyInfo), importConfiguration As Action(Of PropertyInfo, ImportBuilder)) As PartBuilder
型パラメーター
- T
コントラクトの型。
パラメーター
- propertyFilter
- Predicate<PropertyInfo>
一連のプロパティを指定する述語。
- importConfiguration
- Action<PropertyInfo,ImportBuilder>
インポートに関する構成情報を格納するオブジェクト。 既定値は null
です。
戻り値
チェーンを許可するための現在のオブジェクト。
例外
propertyFilter
が null
です。
適用対象
.NET