TypeExtensions.GetMembers 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
GetMembers(Type, BindingFlags) | |
GetMembers(Type) |
GetMembers(Type, BindingFlags)
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)
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