RuntimeReflectionExtensions.GetRuntimeProperties(Type) RuntimeReflectionExtensions.GetRuntimeProperties(Type) RuntimeReflectionExtensions.GetRuntimeProperties(Type) Method

Definition

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>
Parameters
type
Type Type Type

The type that contains the properties.

Returns

A collection of properties for the specified type.

Remarks

This method returns all properties defined on the specified type, including inherited, non-public, instance, and static properties.

Applies to