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