PartBuilder.ExportProperties Metódus
Definíció
Fontos
Egyes információk olyan, kiadás előtti termékekre vonatkoznak, amelyek a kiadásig még jelentősen módosulhatnak. A Microsoft nem vállal kifejezett vagy törvényi garanciát az itt megjelenő információért.
Megadja az exportálandó egyező típusok tulajdonságait.
Túlterhelések
| Name | Description |
|---|---|
| ExportProperties(Predicate<PropertyInfo>, Action<PropertyInfo,ExportBuilder>) |
Megadja az exportálandó egyező típusok tulajdonságait, és konfigurációs információkat nyújt az exportálásokról. |
| ExportProperties(Predicate<PropertyInfo>) |
Megadja az egyező típusokra exportálandó tulajdonságok készletét. |
| ExportProperties<T>(Predicate<PropertyInfo>) |
Megadja az exportálandó egyező típusok tulajdonságait a megadott szerződéstípus használatával. |
| ExportProperties<T>(Predicate<PropertyInfo>, Action<PropertyInfo,ExportBuilder>) |
Megadja a megadott szerződéstípussal exportálandó egyező típusok tulajdonságait, és megadja az eredményként kapott exportálás konfigurációs adatait. |
ExportProperties(Predicate<PropertyInfo>, Action<PropertyInfo,ExportBuilder>)
Megadja az exportálandó egyező típusok tulajdonságait, és konfigurációs információkat nyújt az exportálásokról.
public:
System::ComponentModel::Composition::Registration::PartBuilder ^ ExportProperties(Predicate<System::Reflection::PropertyInfo ^> ^ propertyFilter, Action<System::Reflection::PropertyInfo ^, System::ComponentModel::Composition::Registration::ExportBuilder ^> ^ exportConfiguration);
public System.ComponentModel.Composition.Registration.PartBuilder ExportProperties(Predicate<System.Reflection.PropertyInfo> propertyFilter, Action<System.Reflection.PropertyInfo,System.ComponentModel.Composition.Registration.ExportBuilder> exportConfiguration);
member this.ExportProperties : Predicate<System.Reflection.PropertyInfo> * Action<System.Reflection.PropertyInfo, System.ComponentModel.Composition.Registration.ExportBuilder> -> System.ComponentModel.Composition.Registration.PartBuilder
Public Function ExportProperties (propertyFilter As Predicate(Of PropertyInfo), exportConfiguration As Action(Of PropertyInfo, ExportBuilder)) As PartBuilder
Paraméterek
- propertyFilter
- Predicate<PropertyInfo>
Egy tulajdonságkészletet meghatározó predikátum.
- exportConfiguration
- Action<PropertyInfo,ExportBuilder>
Az exportálás konfigurációs adatait tartalmazó objektum. Az alapértelmezett érték a null.
Válaszok
Az aktuális objektum a láncolás engedélyezéséhez.
Kivételek
propertyFilter az null.
A következőre érvényes:
ExportProperties(Predicate<PropertyInfo>)
Megadja az egyező típusokra exportálandó tulajdonságok készletét.
public:
System::ComponentModel::Composition::Registration::PartBuilder ^ ExportProperties(Predicate<System::Reflection::PropertyInfo ^> ^ propertyFilter);
public System.ComponentModel.Composition.Registration.PartBuilder ExportProperties(Predicate<System.Reflection.PropertyInfo> propertyFilter);
member this.ExportProperties : Predicate<System.Reflection.PropertyInfo> -> System.ComponentModel.Composition.Registration.PartBuilder
Public Function ExportProperties (propertyFilter As Predicate(Of PropertyInfo)) As PartBuilder
Paraméterek
- propertyFilter
- Predicate<PropertyInfo>
Egy tulajdonságkészletet meghatározó predikátum.
Válaszok
Az aktuális objektum a láncolás engedélyezéséhez.
Kivételek
propertyFilter az null.
A következőre érvényes:
ExportProperties<T>(Predicate<PropertyInfo>)
Megadja az exportálandó egyező típusok tulajdonságait a megadott szerződéstípus használatával.
public:
generic <typename T>
System::ComponentModel::Composition::Registration::PartBuilder ^ ExportProperties(Predicate<System::Reflection::PropertyInfo ^> ^ propertyFilter);
public System.ComponentModel.Composition.Registration.PartBuilder ExportProperties<T>(Predicate<System.Reflection.PropertyInfo> propertyFilter);
member this.ExportProperties : Predicate<System.Reflection.PropertyInfo> -> System.ComponentModel.Composition.Registration.PartBuilder
Public Function ExportProperties(Of T) (propertyFilter As Predicate(Of PropertyInfo)) As PartBuilder
Típusparaméterek
- T
A szerződés típusa.
Paraméterek
- propertyFilter
- Predicate<PropertyInfo>
Egy tulajdonságkészletet meghatározó predikátum.
Válaszok
Az aktuális objektum a láncolás engedélyezéséhez.
Kivételek
propertyFilter az null.
A következőre érvényes:
ExportProperties<T>(Predicate<PropertyInfo>, Action<PropertyInfo,ExportBuilder>)
Megadja a megadott szerződéstípussal exportálandó egyező típusok tulajdonságait, és megadja az eredményként kapott exportálás konfigurációs adatait.
public:
generic <typename T>
System::ComponentModel::Composition::Registration::PartBuilder ^ ExportProperties(Predicate<System::Reflection::PropertyInfo ^> ^ propertyFilter, Action<System::Reflection::PropertyInfo ^, System::ComponentModel::Composition::Registration::ExportBuilder ^> ^ exportConfiguration);
public System.ComponentModel.Composition.Registration.PartBuilder ExportProperties<T>(Predicate<System.Reflection.PropertyInfo> propertyFilter, Action<System.Reflection.PropertyInfo,System.ComponentModel.Composition.Registration.ExportBuilder> exportConfiguration);
member this.ExportProperties : Predicate<System.Reflection.PropertyInfo> * Action<System.Reflection.PropertyInfo, System.ComponentModel.Composition.Registration.ExportBuilder> -> System.ComponentModel.Composition.Registration.PartBuilder
Public Function ExportProperties(Of T) (propertyFilter As Predicate(Of PropertyInfo), exportConfiguration As Action(Of PropertyInfo, ExportBuilder)) As PartBuilder
Típusparaméterek
- T
A szerződés típusa.
Paraméterek
- propertyFilter
- Predicate<PropertyInfo>
Egy tulajdonságkészletet meghatározó predikátum.
- exportConfiguration
- Action<PropertyInfo,ExportBuilder>
Az exportálás konfigurációs adatait tartalmazó objektum. Az alapértelmezett érték a null.
Válaszok
Az aktuális objektum a láncolás engedélyezéséhez.
Kivételek
propertyFilter az null.