RuntimeReflectionExtensions.GetRuntimeProperties(Type) Метод
Определение
Извлекает коллекцию, представляющую все свойства, определенные в указанном типе.Retrieves a collection that represents all the properties defined on a specified type.
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>
Параметры
- type
- Type
Тип, содержащий свойства.The type that contains the properties.
Возвраты
Коллекция свойств для заданного типа.A collection of properties for the specified type.
Исключения
Свойство type
имеет значение null
.type
is null
.
Комментарии
Этот метод возвращает все свойства, определенные для указанного типа, включая унаследованные, не являющиеся общими, экземпляры и статические свойства.This method returns all properties defined on the specified type, including inherited, non-public, instance, and static properties.