CustomAttributeBuilder Constructor

CustomAttributeBuilder Constructor

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Initializes a new instance of the CustomAttributeBuilder class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method CustomAttributeBuilder(ConstructorInfo, Object()) Initializes a new instance of the CustomAttributeBuilder class given the constructor for the custom attribute and the arguments to the constructor.
Public method CustomAttributeBuilder(ConstructorInfo, Object(), FieldInfo(), Object()) Initializes a new 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.
Public method CustomAttributeBuilder(ConstructorInfo, Object(), PropertyInfo(), Object()) Initializes a new 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.
Public method CustomAttributeBuilder(ConstructorInfo, Object(), PropertyInfo(), Object(), FieldInfo(), Object()) Initializes a new 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.
Top

Show:
© 2017 Microsoft