Copies all role players to an array.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk (in Microsoft.VisualStudio.Modeling.Sdk.dll)
Syntax
'宣言
Public Sub CopyTo ( _
array As T(), _
arrayIndex As Integer _
)
'使用
Dim instance As ReadOnlyLinkedElementCollection
Dim array As T()
Dim arrayIndex As Integer
instance.CopyTo(array, arrayIndex)
public void CopyTo(
T[] array,
int arrayIndex
)
public:
virtual void CopyTo(
array<T>^ array,
int arrayIndex
) sealed
public final function CopyTo(
array : T[],
arrayIndex : int
)
Parameters
array
Type: []The array to copy the role players to.
arrayIndex
Type: System.Int32The index position inside the array where the first element will be copied.
Implements
ICollection<T>.CopyTo([], Int32)
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
ReadOnlyLinkedElementCollection<T> Class