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:
static cli::array <System::Reflection::ConstructorInfo ^> ^ GetConstructors(Type ^ type);
public static System.Reflection.ConstructorInfo[] GetConstructors (Type type);
static member GetConstructors : Type -> System.Reflection.ConstructorInfo[]
Public Shared 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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.