Partager via


FilteredObservableCollection<T>.CopyTo Method (array<T , Int32)

Since this collection is read-only, throws an InvalidOperationException.

Namespace:  Microsoft.VisualStudio.Language.Intellisense
Assembly:  Microsoft.VisualStudio.Language.Intellisense (in Microsoft.VisualStudio.Language.Intellisense.dll)

Syntax

'Declaration
Public Sub CopyTo ( _
    array As T(), _
    arrayIndex As Integer _
)
public void CopyTo(
    T[] array,
    int arrayIndex
)
public:
virtual void CopyTo(
    array<T>^ array, 
    int arrayIndex
) sealed
abstract CopyTo : 
        array:'T[] * 
        arrayIndex:int -> unit  
override CopyTo : 
        array:'T[] * 
        arrayIndex:int -> unit
public final function CopyTo(
    array : T[], 
    arrayIndex : int
)

Parameters

  • array
    Type: array<T[]

    The array.

  • arrayIndex
    Type: Int32

    The array index.

Implements

ICollection.CopyTo(UTP, Int32)

.NET Framework Security

See Also

Reference

FilteredObservableCollection<T> Class

CopyTo Overload

Microsoft.VisualStudio.Language.Intellisense Namespace