PartBuilder<T>.ExportProperty メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
エクスポートする必要のあるプロパティを指定します。
オーバーロード
ExportProperty(Expression<Func<T,Object>>) |
エクスポートする必要のあるプロパティを指定します。 |
ExportProperty(Expression<Func<T,Object>>, Action<ExportBuilder>) |
エクスポートする必要があり、結果のエクスポートに構成情報を提供するプロパティを指定します。 |
ExportProperty<TContract>(Expression<Func<T,Object>>) |
指定されたコントラクト型としてエクスポートする必要があるプロパティを指定します。 |
ExportProperty<TContract>(Expression<Func<T,Object>>, Action<ExportBuilder>) |
指定されたコントラクト型としてエクスポートする必要があり、結果のエクスポートに構成情報を提供するプロパティを指定します。 |
ExportProperty(Expression<Func<T,Object>>)
エクスポートする必要のあるプロパティを指定します。
public:
System::ComponentModel::Composition::Registration::PartBuilder<T> ^ ExportProperty(System::Linq::Expressions::Expression<Func<T, System::Object ^> ^> ^ propertyFilter);
public System.ComponentModel.Composition.Registration.PartBuilder<T> ExportProperty (System.Linq.Expressions.Expression<Func<T,object>> propertyFilter);
member this.ExportProperty : System.Linq.Expressions.Expression<Func<'T, obj>> -> System.ComponentModel.Composition.Registration.PartBuilder<'T>
Public Function ExportProperty (propertyFilter As Expression(Of Func(Of T, Object))) As PartBuilder(Of T)
パラメーター
- propertyFilter
- Expression<Func<T,Object>>
ターゲット プロパティへの参照が発生する式。
戻り値
チェーンを許可するための現在のオブジェクト。
例外
propertyFilter
が null
です。
適用対象
ExportProperty(Expression<Func<T,Object>>, Action<ExportBuilder>)
エクスポートする必要があり、結果のエクスポートに構成情報を提供するプロパティを指定します。
public:
System::ComponentModel::Composition::Registration::PartBuilder<T> ^ ExportProperty(System::Linq::Expressions::Expression<Func<T, System::Object ^> ^> ^ propertyFilter, Action<System::ComponentModel::Composition::Registration::ExportBuilder ^> ^ exportConfiguration);
public System.ComponentModel.Composition.Registration.PartBuilder<T> ExportProperty (System.Linq.Expressions.Expression<Func<T,object>> propertyFilter, Action<System.ComponentModel.Composition.Registration.ExportBuilder> exportConfiguration);
member this.ExportProperty : System.Linq.Expressions.Expression<Func<'T, obj>> * Action<System.ComponentModel.Composition.Registration.ExportBuilder> -> System.ComponentModel.Composition.Registration.PartBuilder<'T>
Public Function ExportProperty (propertyFilter As Expression(Of Func(Of T, Object)), exportConfiguration As Action(Of ExportBuilder)) As PartBuilder(Of T)
パラメーター
- propertyFilter
- Expression<Func<T,Object>>
ターゲット プロパティへの参照が発生する式。
- exportConfiguration
- Action<ExportBuilder>
エクスポートに関する構成情報を格納するオブジェクト。 既定値は null
です。
戻り値
チェーンを許可するための現在のオブジェクト。
例外
propertyFilter
が null
です。
適用対象
ExportProperty<TContract>(Expression<Func<T,Object>>)
指定されたコントラクト型としてエクスポートする必要があるプロパティを指定します。
public:
generic <typename TContract>
System::ComponentModel::Composition::Registration::PartBuilder<T> ^ ExportProperty(System::Linq::Expressions::Expression<Func<T, System::Object ^> ^> ^ propertyFilter);
public System.ComponentModel.Composition.Registration.PartBuilder<T> ExportProperty<TContract> (System.Linq.Expressions.Expression<Func<T,object>> propertyFilter);
member this.ExportProperty : System.Linq.Expressions.Expression<Func<'T, obj>> -> System.ComponentModel.Composition.Registration.PartBuilder<'T>
Public Function ExportProperty(Of TContract) (propertyFilter As Expression(Of Func(Of T, Object))) As PartBuilder(Of T)
型パラメーター
- TContract
コントラクトの型。
パラメーター
- propertyFilter
- Expression<Func<T,Object>>
ターゲット プロパティへの参照が発生する式。
戻り値
チェーンを許可するための現在のオブジェクト。
例外
propertyFilter
が null
です。
適用対象
ExportProperty<TContract>(Expression<Func<T,Object>>, Action<ExportBuilder>)
指定されたコントラクト型としてエクスポートする必要があり、結果のエクスポートに構成情報を提供するプロパティを指定します。
public:
generic <typename TContract>
System::ComponentModel::Composition::Registration::PartBuilder<T> ^ ExportProperty(System::Linq::Expressions::Expression<Func<T, System::Object ^> ^> ^ propertyFilter, Action<System::ComponentModel::Composition::Registration::ExportBuilder ^> ^ exportConfiguration);
public System.ComponentModel.Composition.Registration.PartBuilder<T> ExportProperty<TContract> (System.Linq.Expressions.Expression<Func<T,object>> propertyFilter, Action<System.ComponentModel.Composition.Registration.ExportBuilder> exportConfiguration);
member this.ExportProperty : System.Linq.Expressions.Expression<Func<'T, obj>> * Action<System.ComponentModel.Composition.Registration.ExportBuilder> -> System.ComponentModel.Composition.Registration.PartBuilder<'T>
Public Function ExportProperty(Of TContract) (propertyFilter As Expression(Of Func(Of T, Object)), exportConfiguration As Action(Of ExportBuilder)) As PartBuilder(Of T)
型パラメーター
- TContract
コントラクトの型。
パラメーター
- propertyFilter
- Expression<Func<T,Object>>
ターゲット プロパティへの参照が発生する式。
- exportConfiguration
- Action<ExportBuilder>
エクスポートに関する構成情報を格納するオブジェクト。 既定値は null
です。
戻り値
チェーンを許可するための現在のオブジェクト。
例外
propertyFilter
が null
です。
適用対象
.NET