LinkedElementCollection<T>.Insert Method
Inserts a role into the collection at a specified index.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.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
index
Type: Int32The index to assign to the role.
item
Type: TThe role to insert.
Implements
IList.Insert(Int32, UTP)
.NET Framework Security
- 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.