ConstructorBuilder Methods

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

The ConstructorBuilder type exposes the following members.

Methods

  Name Description
Public method DefineParameter Defines the name and attributes of a parameter of this constructor.
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public method GetCustomAttributes(Boolean) Returns all the custom attributes defined for this constructor. This method is not supported. (Overrides MemberInfo.GetCustomAttributes(Boolean).)
Public method GetCustomAttributes(Type, Boolean) Returns the custom attributes identified by the given type. This method is not supported. (Overrides MemberInfo.GetCustomAttributes(Type, Boolean).)
Public method GetGenericArguments Returns an array of Type objects that represent the type arguments of a generic method or the type parameters of a generic method definition. (Inherited from MethodBase.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetILGenerator() Returns a Microsoft intermediate language (MSIL) generator for this constructor.
Public method GetILGenerator(Int32) Returns a Microsoft intermediate language (MSIL) generator, with the specified MSIL stream size, that can be used to build a method body for this constructor.
Public method GetMethodImplementationFlags Returns the method implementation flags for this constructor. (Overrides MethodBase.GetMethodImplementationFlags().)
Public method GetModule Returns a reference to the module that contains this constructor.
Public method GetParameters Returns the parameters of the completed constructor. (Overrides MethodBase.GetParameters().)
Public method GetToken Returns the token for this constructor.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Invoke(array<Object[]) Invokes the current constructor with the specified arguments. (Inherited from ConstructorInfo.)
Public method Invoke(Object, array<Object[]) Invokes the method or constructor represented by the current instance, using the specified parameters. (Inherited from MethodBase.)
Public method Invoke(BindingFlags, Binder, array<Object[], CultureInfo) Dynamically invokes the constructor reflected by this instance on the given object, passing along the specified parameters, and under the constraints of the given binder. This method is not supported. (Overrides ConstructorInfo.Invoke(BindingFlags, Binder, array<Object[], CultureInfo).)
Public method Invoke(Object, BindingFlags, Binder, array<Object[], CultureInfo) Dynamically invokes the constructor reflected by this instance with the specified arguments, under the constraints of the specified Binder. This method is not supported. (Overrides MethodBase.Invoke(Object, BindingFlags, Binder, array<Object[], CultureInfo).)
Public method IsDefined Checks if the specified custom attribute type is defined. This method is not supported. (Overrides MemberInfo.IsDefined(Type, Boolean).)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method SetCustomAttribute Applies a custom attribute to the constructor by using a custom attribute builder.
Public method SetImplementationFlags Sets the method implementation flags for this constructor.
Public method ToString Returns this ConstructorBuilder instance as a String. (Overrides Object.ToString().)

Top