TypeExtensions.GetConstructors 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
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()
Parameters
- type
- Type
Returns
Applies to
GetConstructors(Type, BindingFlags)
- Source:
- TypeExtensions.cs
- Source:
- TypeExtensions.cs
- Source:
- TypeExtensions.cs
public:
static cli::array <System::Reflection::ConstructorInfo ^> ^ GetConstructors(Type ^ type, System::Reflection::BindingFlags bindingAttr);
public static System.Reflection.ConstructorInfo[] GetConstructors (Type type, System.Reflection.BindingFlags bindingAttr);
static member GetConstructors : Type * System.Reflection.BindingFlags -> System.Reflection.ConstructorInfo[]
Public Shared Function GetConstructors (type As Type, bindingAttr As BindingFlags) As ConstructorInfo()
Parameters
- type
- Type
- bindingAttr
- BindingFlags
Returns
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.