RuntimeReflectionExtensions.GetRuntimeProperties(Type) Metódus

Definíció

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.

A következőre érvényes:

Lásd még