Compartilhar via


VirtualTypeBuilder.AttributeCollection.Add(Attribute) Method

Definition

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

value
Attribute

The Attribute to be added to the end of the collection.

Returns

The index at which the value has been added.

Exceptions

value cannot be placed on a class.

The attribute is null.

Applies to