다음을 통해 공유


LinkedElementCollection<T>.Insert Method

Inserts a role into the collection at a specified index.

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

Syntax

'Declaration
Public Sub Insert ( _
    index As Integer, _
    item As T _
)
public void Insert(
    int index,
    T item
)
public:
virtual void Insert(
    int index, 
    T item
) sealed
abstract Insert : 
        index:int * 
        item:'T -> unit  
override Insert : 
        index:int * 
        item:'T -> unit
public final function Insert(
    index : int, 
    item : T
)

Parameters

  • item
    Type: T

    The role to insert.

Implements

IList<T>.Insert(Int32, T)

.NET Framework Security

See Also

Reference

LinkedElementCollection<T> Class

Microsoft.VisualStudio.Modeling Namespace