Moves a role to a new position inside the collection.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk (in Microsoft.VisualStudio.Modeling.Sdk.dll)
Syntax
'宣言
Public Sub Move ( _
item As T, _
newIndex As Integer _
)
'使用
Dim instance As LinkedElementCollection
Dim item As T
Dim newIndex As Integer
instance.Move(item, newIndex)
public void Move(
T item,
int newIndex
)
public:
void Move(
T item,
int newIndex
)
public function Move(
item : T,
newIndex : int
)
Parameters
item
Type: TThe role to move.
newIndex
Type: System.Int32The new index position of the role in the collection.
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