ConstructorBuilder Methods

ConstructorBuilder Methods

 

Namespace:   System.Reflection.Emit
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodAddDeclarativeSecurity(SecurityAction, PermissionSet)

Adds declarative security to this constructor.

System_CAPS_pubmethodDefineParameter(Int32, ParameterAttributes, String)

Defines a parameter of this constructor.

System_CAPS_pubmethodEquals(Object)

Returns a value that indicates whether this instance is equal to a specified object.(Inherited from ConstructorInfo.)

System_CAPS_pubmethodGetCustomAttributes(Boolean)

Returns all the custom attributes defined for this constructor.(Overrides MemberInfo.GetCustomAttributes(Boolean).)

System_CAPS_pubmethodGetCustomAttributes(Type, Boolean)

Returns the custom attributes identified by the given type.(Overrides MemberInfo.GetCustomAttributes(Type, Boolean).)

System_CAPS_pubmethodGetCustomAttributesData()

Returns a list of CustomAttributeData objects representing data about the attributes that have been applied to the target member.(Inherited from MemberInfo.)

System_CAPS_pubmethodGetGenericArguments()

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.)

System_CAPS_pubmethodGetHashCode()

Returns the hash code for this instance.(Inherited from ConstructorInfo.)

System_CAPS_pubmethodGetILGenerator()

Gets an ILGenerator for this constructor.

System_CAPS_pubmethodGetILGenerator(Int32)

Gets an ILGenerator object, with the specified MSIL stream size, that can be used to build a method body for this constructor.

System_CAPS_pubmethodGetMethodBody()

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.)

System_CAPS_pubmethodGetMethodImplementationFlags()

Returns the method implementation flags for this constructor.(Overrides MethodBase.GetMethodImplementationFlags().)

System_CAPS_pubmethodGetModule()

Returns a reference to the module that contains this constructor.

System_CAPS_pubmethodGetParameters()

Returns the parameters of this constructor.(Overrides MethodBase.GetParameters().)

System_CAPS_pubmethodGetToken()

Returns the MethodToken that represents the token for this constructor.

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodInvoke(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).)

System_CAPS_pubmethodInvoke(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).)

System_CAPS_pubmethodInvoke(Object, Object[])

Invokes the method or constructor represented by the current instance, using the specified parameters.(Inherited from MethodBase.)

System_CAPS_pubmethodInvoke(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.)

System_CAPS_pubmethodIsDefined(Type, Boolean)

Checks if the specified custom attribute type is defined.(Overrides MemberInfo.IsDefined(Type, Boolean).)

System_CAPS_pubmethodSetCustomAttribute(ConstructorInfo, Byte[])

Set a custom attribute using a specified custom attribute blob.

System_CAPS_pubmethodSetCustomAttribute(CustomAttributeBuilder)

Set a custom attribute using a custom attribute builder.

System_CAPS_pubmethodSetImplementationFlags(MethodImplAttributes)

Sets the method implementation flags for this constructor.

System_CAPS_pubmethodSetMethodBody(Byte[], Int32, Byte[], IEnumerable<ExceptionHandler>, IEnumerable<Int32>)

Creates the body of the constructor by using a specified byte array of Microsoft intermediate language (MSIL) instructions.

System_CAPS_pubmethodSetSymCustomAttribute(String, Byte[])

Sets this constructor's custom attribute associated with symbolic information.

System_CAPS_pubmethodToString()

Returns this ConstructorBuilder instance as a String.(Overrides Object.ToString().)

NameDescription
System_CAPS_pubmethodGetCustomAttribute(Type)

Overloaded. Retrieves a custom attribute of a specified type that is applied to a specified member.(Defined by CustomAttributeExtensions.)

System_CAPS_pubmethodGetCustomAttribute(Type, Boolean)

Overloaded. Retrieves a custom attribute of a specified type that is applied to a specified member, and optionally inspects the ancestors of that member.(Defined by CustomAttributeExtensions.)

System_CAPS_pubmethodGetCustomAttribute<T>()

Overloaded. Retrieves a custom attribute of a specified type that is applied to a specified member.(Defined by CustomAttributeExtensions.)

System_CAPS_pubmethodGetCustomAttribute<T>(Boolean)

Overloaded. Retrieves a custom attribute of a specified type that is applied to a specified member, and optionally inspects the ancestors of that member.(Defined by CustomAttributeExtensions.)

System_CAPS_pubmethodGetCustomAttributes()

Overloaded. Retrieves a collection of custom attributes that are applied to a specified member.(Defined by CustomAttributeExtensions.)

System_CAPS_pubmethodGetCustomAttributes(Type)

Overloaded. Retrieves a collection of custom attributes of a specified type that are applied to a specified member.(Defined by CustomAttributeExtensions.)

System_CAPS_pubmethodGetCustomAttributes<T>(Boolean)

Overloaded. Retrieves a collection of custom attributes of a specified type that are applied to a specified member, and optionally inspects the ancestors of that member.(Defined by CustomAttributeExtensions.)

System_CAPS_pubmethodIsDefined(Type)

Overloaded. Indicates whether custom attributes of a specified type are applied to a specified member.(Defined by CustomAttributeExtensions.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethod_ConstructorBuilder.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr)

Maps a set of names to a corresponding set of dispatch identifiers.

System_CAPS_pubinterfaceSystem_CAPS_privmethod_ConstructorBuilder.GetTypeInfo(UInt32, UInt32, IntPtr)

Retrieves the type information for an object, which can then be used to get the type information for an interface.

System_CAPS_pubinterfaceSystem_CAPS_privmethod_ConstructorBuilder.GetTypeInfoCount(UInt32)

Retrieves the number of type information interfaces that an object provides (either 0 or 1).

System_CAPS_pubinterfaceSystem_CAPS_privmethod_ConstructorBuilder.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr)

Provides access to properties and methods exposed by an object.

System_CAPS_pubinterfaceSystem_CAPS_privmethod_ConstructorInfo.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr)

Maps a set of names to a corresponding set of dispatch identifiers.(Inherited from ConstructorInfo.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod_ConstructorInfo.GetType()

Gets a Type object representing the ConstructorInfo type.(Inherited from ConstructorInfo.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod_ConstructorInfo.GetTypeInfo(UInt32, UInt32, IntPtr)

Retrieves the type information for an object, which can then be used to get the type information for an interface.(Inherited from ConstructorInfo.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod_ConstructorInfo.GetTypeInfoCount(UInt32)

Retrieves the number of type information interfaces that an object provides (either 0 or 1).(Inherited from ConstructorInfo.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod_ConstructorInfo.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr)

Provides access to properties and methods exposed by an object.(Inherited from ConstructorInfo.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod_ConstructorInfo.Invoke_2(Object, BindingFlags, Binder, Object[], CultureInfo)

Provides COM objects with version-independent access to the MethodBase.Invoke(Object, BindingFlags, Binder, Object[], CultureInfo) method.(Inherited from ConstructorInfo.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod_ConstructorInfo.Invoke_3(Object, Object[])

Provides COM objects with version-independent access to the MethodBase.Invoke(Object, Object[]) method. (Inherited from ConstructorInfo.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod_ConstructorInfo.Invoke_4(BindingFlags, Binder, Object[], CultureInfo)

Provides COM objects with version-independent access to the ConstructorInfo.Invoke(BindingFlags, Binder, Object[], CultureInfo) method. (Inherited from ConstructorInfo.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod_ConstructorInfo.Invoke_5(Object[])

Provides COM objects with version-independent access to the ConstructorInfo.Invoke(Object[]) method. (Inherited from ConstructorInfo.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod_MemberInfo.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr)

Maps a set of names to a corresponding set of dispatch identifiers.(Inherited from MemberInfo.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod_MemberInfo.GetType()

Gets a Type object representing the MemberInfo class.(Inherited from MemberInfo.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod_MemberInfo.GetTypeInfo(UInt32, UInt32, IntPtr)

Retrieves the type information for an object, which can then be used to get the type information for an interface.(Inherited from MemberInfo.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod_MemberInfo.GetTypeInfoCount(UInt32)

Retrieves the number of type information interfaces that an object provides (either 0 or 1).(Inherited from MemberInfo.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod_MemberInfo.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr)

Provides access to properties and methods exposed by an object.(Inherited from MemberInfo.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod_MethodBase.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr)

Maps a set of names to a corresponding set of dispatch identifiers.(Inherited from MethodBase.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod_MethodBase.GetType()

For a description of this member, see _MethodBase.GetType.(Inherited from MethodBase.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod_MethodBase.GetTypeInfo(UInt32, UInt32, IntPtr)

Retrieves the type information for an object, which can then be used to get the type information for an interface.(Inherited from MethodBase.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod_MethodBase.GetTypeInfoCount(UInt32)

Retrieves the number of type information interfaces that an object provides (either 0 or 1).(Inherited from MethodBase.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod_MethodBase.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr)

Provides access to properties and methods exposed by an object.(Inherited from MethodBase.)

Return to top
Show:
© 2016 Microsoft