TypeExtensions.GetConstructors 方法

定義

多載

GetConstructors(Type)
GetConstructors(Type, BindingFlags)

GetConstructors(Type)

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)

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

傳回

適用於