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: TThe role to append.
Implements
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
LinkedElementCollection<T> Class