TypeExtensions.GetMembers Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetMembers(Type, BindingFlags) | |
GetMembers(Type) |
GetMembers(Type, BindingFlags)
public:
[System::Runtime::CompilerServices::Extension]
static cli::array <System::Reflection::MemberInfo ^> ^ GetMembers(Type ^ type, System::Reflection::BindingFlags bindingAttr);
public static System.Reflection.MemberInfo[] GetMembers (this Type type, System.Reflection.BindingFlags bindingAttr);
static member GetMembers : Type * System.Reflection.BindingFlags -> System.Reflection.MemberInfo[]
<Extension()>
Public Function GetMembers (type As Type, bindingAttr As BindingFlags) As MemberInfo()
Parameters
- type
- Type
- bindingAttr
- BindingFlags
Returns
Applies to
GetMembers(Type)
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()
Parameters
- type
- Type
Returns
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将推出:在整个 2024 年,我们将逐步取消以“GitHub 问题”作为内容的反馈机制,并将其替换为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈