RuntimeReflectionExtensions.GetRuntimeProperties(Type) Método

Definición

Recupera una colección que representa todas las propiedades definidas en un tipo especificado.

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)

Parámetros

type
Type

Tipo que contiene las propiedades.

Devoluciones

IEnumerable<PropertyInfo>

Colección de propiedades del tipo especificado.

Excepciones

type es null.

Comentarios

Este método devuelve todas las propiedades definidas en el tipo especificado, incluidas las propiedades heredadas, no públicas, de instancia y estáticas.

Se aplica a

Consulte también