Export (0) Print
Expand All

ConstructorBuilder Methods

The ConstructorBuilder type exposes the following members.

  NameDescription
Public method AddDeclarativeSecurity Adds declarative security to this constructor.
Public method DefineParameter Defines a parameter of this constructor.
Public method Equals Returns a value that indicates whether this instance is equal to a specified object. (Inherited from ConstructorInfo.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetCustomAttributes(Boolean) Returns all the custom attributes defined for this constructor. (Overrides MemberInfo.GetCustomAttributes(Boolean).)
Public method GetCustomAttributes(Type, Boolean) Returns the custom attributes identified by the given type. (Overrides MemberInfo.GetCustomAttributes(Type, Boolean).)
Public method GetCustomAttributesData Returns a list of CustomAttributeData objects representing data about the attributes that have been applied to the target member. (Inherited from MemberInfo.)
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 Returns the hash code for this instance. (Inherited from ConstructorInfo.)
Public method GetILGenerator() Gets an ILGenerator for this constructor.
Public method GetILGenerator(Int32) Gets an ILGenerator object, with the specified MSIL stream size, that can be used to build a method body for this constructor.
Public method GetMethodBody When overridden in a derived class, gets a MethodBody object that provides access to the MSIL stream, local variables, and exceptions for the current method. (Inherited from MethodBase.)
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 this constructor. (Overrides MethodBase.GetParameters().)
Public method GetToken Returns the MethodToken that represents the token for this constructor.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Invoke(Object[]) Invokes the constructor reflected by the instance that has the specified parameters, providing default values for the parameters not commonly used. (Inherited from ConstructorInfo.)
Public method Invoke(Object, Object[]) Invokes the method or constructor represented by the current instance, using the specified parameters. (Inherited from MethodBase.)
Public method Invoke(BindingFlags, Binder, Object[], CultureInfo) Invokes the constructor dynamically reflected by this instance on the given object, passing along the specified parameters, and under the constraints of the given binder. (Overrides ConstructorInfo.Invoke(BindingFlags, Binder, Object[], CultureInfo).)
Public method Invoke(Object, BindingFlags, Binder, Object[], CultureInfo) Dynamically invokes the constructor reflected by this instance with the specified arguments, under the constraints of the specified Binder. (Overrides MethodBase.Invoke(Object, BindingFlags, Binder, Object[], CultureInfo).)
Public method IsDefined Checks if the specified custom attribute type is defined. (Overrides MemberInfo.IsDefined(Type, Boolean).)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method SetCustomAttribute(CustomAttributeBuilder) Set a custom attribute using a custom attribute builder.
Public method SetCustomAttribute(ConstructorInfo, Byte[]) Set a custom attribute using a specified custom attribute blob.
Public method SetImplementationFlags Sets the method implementation flags for this constructor.
Public method SetSymCustomAttribute Sets this constructor's custom attribute associated with symbolic information.
Public method ToString Returns this ConstructorBuilder instance as a String. (Overrides Object.ToString().)
Top

  NameDescription
Explicit interface implemetation Private method _ConstructorBuilder.GetIDsOfNames Maps a set of names to a corresponding set of dispatch identifiers.
Explicit interface implemetation Private method _ConstructorBuilder.GetTypeInfo Retrieves the type information for an object, which can then be used to get the type information for an interface.
Explicit interface implemetation Private method _ConstructorBuilder.GetTypeInfoCount Retrieves the number of type information interfaces that an object provides (either 0 or 1).
Explicit interface implemetation Private method _ConstructorBuilder.Invoke Provides access to properties and methods exposed by an object.
Explicit interface implemetation Private method _ConstructorInfo.GetIDsOfNames Maps a set of names to a corresponding set of dispatch identifiers. (Inherited from ConstructorInfo.)
Explicit interface implemetation Private method _ConstructorInfo.GetType Gets a Type object representing the ConstructorInfo type. (Inherited from ConstructorInfo.)
Explicit interface implemetation Private method _ConstructorInfo.GetTypeInfo Retrieves the type information for an object, which can then be used to get the type information for an interface. (Inherited from ConstructorInfo.)
Explicit interface implemetation Private method _ConstructorInfo.GetTypeInfoCount Retrieves the number of type information interfaces that an object provides (either 0 or 1). (Inherited from ConstructorInfo.)
Explicit interface implemetation Private method _ConstructorInfo.Invoke Provides access to properties and methods exposed by an object. (Inherited from ConstructorInfo.)
Explicit interface implemetation Private method _ConstructorInfo.Invoke_2 Provides COM objects with version-independent access to the MethodBase.Invoke(Object, BindingFlags, Binder, Object[], CultureInfo) method. (Inherited from ConstructorInfo.)
Explicit interface implemetation Private method _ConstructorInfo.Invoke_3 Provides COM objects with version-independent access to the MethodBase.Invoke(Object, Object[]) method. (Inherited from ConstructorInfo.)
Explicit interface implemetation Private method _ConstructorInfo.Invoke_4 Provides COM objects with version-independent access to the ConstructorInfo.Invoke(BindingFlags, Binder, Object[], CultureInfo) method. (Inherited from ConstructorInfo.)
Explicit interface implemetation Private method _ConstructorInfo.Invoke_5 Provides COM objects with version-independent access to the ConstructorInfo.Invoke(Object[]) method. (Inherited from ConstructorInfo.)
Explicit interface implemetation Private method _MemberInfo.GetIDsOfNames Maps a set of names to a corresponding set of dispatch identifiers. (Inherited from MemberInfo.)
Explicit interface implemetation Private method _MemberInfo.GetType Gets a Type object representing the MemberInfo class. (Inherited from MemberInfo.)
Explicit interface implemetation Private method _MemberInfo.GetTypeInfo Retrieves the type information for an object, which can then be used to get the type information for an interface. (Inherited from MemberInfo.)
Explicit interface implemetation Private method _MemberInfo.GetTypeInfoCount Retrieves the number of type information interfaces that an object provides (either 0 or 1). (Inherited from MemberInfo.)
Explicit interface implemetation Private method _MemberInfo.Invoke Provides access to properties and methods exposed by an object. (Inherited from MemberInfo.)
Explicit interface implemetation Private method _MethodBase.GetIDsOfNames Maps a set of names to a corresponding set of dispatch identifiers. (Inherited from MethodBase.)
Explicit interface implemetation Private method _MethodBase.GetType For a description of this member, see _MethodBase.GetType. (Inherited from MethodBase.)
Explicit interface implemetation Private method _MethodBase.GetTypeInfo Retrieves the type information for an object, which can then be used to get the type information for an interface. (Inherited from MethodBase.)
Explicit interface implemetation Private method _MethodBase.GetTypeInfoCount Retrieves the number of type information interfaces that an object provides (either 0 or 1). (Inherited from MethodBase.)
Explicit interface implemetation Private method _MethodBase.Invoke Provides access to properties and methods exposed by an object. (Inherited from MethodBase.)
Top

Community Additions

ADD
Show:
© 2015 Microsoft