LinkedElementCollection<T>.ReplaceAt Method
Replaces a role at a specified index with a new role.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Declaração
Public Sub ReplaceAt ( _
index As Integer, _
item As T _
)
public void ReplaceAt(
int index,
T item
)
public:
void ReplaceAt(
int index,
T item
)
member ReplaceAt :
index:int *
item:'T -> unit
public function ReplaceAt(
index : int,
item : T
)
Parameters
- index
Type: System.Int32
The index of the role to replace.
- item
Type: T
The role that will replace the current role at the specified index.
.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.