TypeExtensions.GetProperties TypeExtensions.GetProperties TypeExtensions.GetProperties Method

定义

重载

GetProperties(Type) GetProperties(Type) GetProperties(Type)
GetProperties(Type, BindingFlags) GetProperties(Type, BindingFlags) GetProperties(Type, BindingFlags)

GetProperties(Type) GetProperties(Type) GetProperties(Type)

public:
[System::Runtime::CompilerServices::Extension]
 static cli::array <System::Reflection::PropertyInfo ^> ^ GetProperties(Type ^ type);
public static System.Reflection.PropertyInfo[] GetProperties (this Type type);
static member GetProperties : Type -> System.Reflection.PropertyInfo[]

参数

type
Type Type Type

返回

GetProperties(Type, BindingFlags) GetProperties(Type, BindingFlags) GetProperties(Type, BindingFlags)

public:
[System::Runtime::CompilerServices::Extension]
 static cli::array <System::Reflection::PropertyInfo ^> ^ GetProperties(Type ^ type, System::Reflection::BindingFlags bindingAttr);
public static System.Reflection.PropertyInfo[] GetProperties (this Type type, System.Reflection.BindingFlags bindingAttr);
static member GetProperties : Type * System.Reflection.BindingFlags -> System.Reflection.PropertyInfo[]

参数

type
Type Type Type

返回

适用于