LinkedElementCollection<T>.Add Method

Appends a new role to the end of the collection.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk (in Microsoft.VisualStudio.Modeling.Sdk.dll)

Syntax

'宣言
Public Sub Add ( _
    item As T _
)
'使用
Dim instance As LinkedElementCollection
Dim item As T

instance.Add(item)
public void Add(
    T item
)
public:
virtual void Add(
    T item
) sealed
public final function Add(
    item : T
)

Parameters

  • item
    Type: T

    The role to append.

Implements

ICollection<T>.Add(T)

Permissions

See Also

Reference

LinkedElementCollection<T> Class

LinkedElementCollection<T> Members

Microsoft.VisualStudio.Modeling Namespace