TypeExtensions.GetProperties 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
GetProperties(Type) | |
GetProperties(Type, BindingFlags) |
GetProperties(Type)
- Source:
- TypeExtensions.cs
- Source:
- TypeExtensions.cs
- Source:
- 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)
- Source:
- TypeExtensions.cs
- Source:
- TypeExtensions.cs
- Source:
- TypeExtensions.cs
public:
static cli::array <System::Reflection::PropertyInfo ^> ^ GetProperties(Type ^ type, System::Reflection::BindingFlags bindingAttr);
public static System.Reflection.PropertyInfo[] GetProperties (Type type, System.Reflection.BindingFlags bindingAttr);
static member GetProperties : Type * System.Reflection.BindingFlags -> System.Reflection.PropertyInfo[]
Public Shared Function GetProperties (type As Type, bindingAttr As BindingFlags) As PropertyInfo()
参数
- type
- Type
- bindingAttr
- BindingFlags