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