RuntimeReflectionExtensions.GetRuntimeProperties(Type) 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.
Lekéri a megadott típuson definiált összes tulajdonságot képviselő gyűjteményt.
public:
[System::Runtime::CompilerServices::Extension]
static System::Collections::Generic::IEnumerable<System::Reflection::PropertyInfo ^> ^ GetRuntimeProperties(Type ^ type);
public static System.Collections.Generic.IEnumerable<System.Reflection.PropertyInfo> GetRuntimeProperties(this Type type);
static member GetRuntimeProperties : Type -> seq<System.Reflection.PropertyInfo>
<Extension()>
Public Function GetRuntimeProperties (type As Type) As IEnumerable(Of PropertyInfo)
Paraméterek
- type
- Type
A tulajdonságokat tartalmazó típus.
Válaszok
A megadott típushoz tartozó tulajdonságok gyűjteménye.
Kivételek
type az null.
Megjegyzések
Ez a metódus a megadott típuson definiált összes tulajdonságot visszaadja, beleértve az örökölt, a nem nyilvános, a példányt és a statikus tulajdonságokat is.