TypeExtensions.GetProperties 方法

定義

多載

GetProperties(Type)
GetProperties(Type, BindingFlags)

GetProperties(Type)

來源:
TypeExtensions.cs
來源:
TypeExtensions.cs
來源:
TypeExtensions.cs
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[]
<Extension()>
Public Function GetProperties (type As Type) As PropertyInfo()

參數

type
Type

傳回

適用於

GetProperties(Type, BindingFlags)

來源:
TypeExtensions.cs
來源:
TypeExtensions.cs
來源:
TypeExtensions.cs
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[]
<Extension()>
Public Function GetProperties (type As Type, bindingAttr As BindingFlags) As PropertyInfo()

參數

type
Type
bindingAttr
BindingFlags

傳回

適用於