RuntimeReflectionExtensions.GetRuntimeProperties(Type) Metodo

Definizione

Recupera una raccolta che rappresenta tutte le proprietà definite in un tipo specificato.

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)

Parametri

type
Type

Tipo che contiene le proprietà.

Restituisce

IEnumerable<PropertyInfo>

Raccolta di proprietà per il tipo specificato.

Eccezioni

type è null.

Commenti

Questo metodo restituisce tutte le proprietà definite nel tipo specificato, incluse le proprietà ereditate, non pubbliche, di istanza e statiche.

Si applica a

Vedi anche