Export (0) Print
Expand All

CustomAttributeBuilder Constructor

.NET Framework 1.1

Initializes an instances of the CustomAttributeBuilder class.

Overload List

Initializes an instance of the CustomAttributeBuilder class given the constructor for the custom attribute and the arguments to the constructor.

[Visual Basic] Public Sub New(ConstructorInfo, Object())
[C#] public CustomAttributeBuilder(ConstructorInfo, object[]);
[C++] public: CustomAttributeBuilder(ConstructorInfo*, Object[]);
[JScript] public function CustomAttributeBuilder(ConstructorInfo, Object[]);

Initializes an instance of the CustomAttributeBuilder class given the constructor for the custom attribute, the arguments to the constructor, and a set of named field/value pairs.

[Visual Basic] Public Sub New(ConstructorInfo, Object(), FieldInfo(), Object())
[C#] public CustomAttributeBuilder(ConstructorInfo, object[], FieldInfo[], object[]);
[C++] public: CustomAttributeBuilder(ConstructorInfo*, Object[], FieldInfo[], Object[]);
[JScript] public function CustomAttributeBuilder(ConstructorInfo, Object[], FieldInfo[], Object[]);

Initializes an instance of the CustomAttributeBuilder class given the constructor for the custom attribute, the arguments to the constructor, and a set of named property or value pairs.

[Visual Basic] Public Sub New(ConstructorInfo, Object(), PropertyInfo(), Object())
[C#] public CustomAttributeBuilder(ConstructorInfo, object[], PropertyInfo[], object[]);
[C++] public: CustomAttributeBuilder(ConstructorInfo*, Object[], PropertyInfo[], Object[]);
[JScript] public function CustomAttributeBuilder(ConstructorInfo, Object[], PropertyInfo[], Object[]);

Initializes an instance of the CustomAttributeBuilder class given the constructor for the custom attribute, the arguments to the constructor, a set of named property or value pairs, and a set of named field or value pairs.

[Visual Basic] Public Sub New(ConstructorInfo, Object(), PropertyInfo(), Object(), FieldInfo(), Object())
[C#] public CustomAttributeBuilder(ConstructorInfo, object[], PropertyInfo[], object[], FieldInfo[], object[]);
[C++] public: CustomAttributeBuilder(ConstructorInfo*, Object[], PropertyInfo[], Object[], FieldInfo[], Object[]);
[JScript] public function CustomAttributeBuilder(ConstructorInfo, Object[], PropertyInfo[], Object[], FieldInfo[], Object[]);

See Also

CustomAttributeBuilder Class | CustomAttributeBuilder Members | System.Reflection.Emit Namespace

Show:
© 2014 Microsoft