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>)
インポートする必要がある一致する型のプロパティのセットを指定します。
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>)
インポートとしてマークする必要がある一致する型のプロパティのセットを指定し、結果のインポートの構成情報を提供します。
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>)
指定したコントラクト型を使用してインポートとしてマークする必要がある、一致する型のプロパティのセットを指定します。
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>)
指定したコントラクト型を使用してインポートとしてマークする必要がある一致する型のプロパティのセットを指定し、結果のインポートの構成情報を提供します。
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です。