VirtualTypeBuilder.AttributeCollection.Add(Attribute) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds an Attribute to the end of the VirtualTypeBuilder.AttributeCollection.
public:
int Add(Attribute ^ value);
public:
int Add(Platform::Metadata::Attribute ^ value);
public int Add (Attribute value);
member this.Add : Attribute -> int
Public Function Add (value As Attribute) As Integer
Parameters
Returns
The index at which the value has been added.
Exceptions
value
cannot be placed on a class.
The attribute is null
.