TagList.CopyTo Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
CopyTo(Span<KeyValuePair<String,Object>>) |
Copies the contents of this TagList into a destination |
CopyTo(KeyValuePair<String,Object>[], Int32) |
Copies the entire TagList to a compatible one-dimensional array, starting at the specified index of the target array. |
CopyTo(Span<KeyValuePair<String,Object>>)
- Source:
- TagList.cs
- Source:
- TagList.cs
- Source:
- TagList.cs
Copies the contents of this TagList into a destination tags
span.
public:
void CopyTo(Span<System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>> tags);
public readonly void CopyTo (Span<System.Collections.Generic.KeyValuePair<string,object?>> tags);
member this.CopyTo : Span<System.Collections.Generic.KeyValuePair<string, obj>> -> unit
Public Sub CopyTo (tags As Span(Of KeyValuePair(Of String, Object)))
Parameters
- tags
- Span<KeyValuePair<String,Object>>
The destination Span<T> object.
Exceptions
The number of elements in the source TagList is greater than the number of elements that the destination span.
Applies to
CopyTo(KeyValuePair<String,Object>[], Int32)
- Source:
- TagList.cs
- Source:
- TagList.cs
- Source:
- TagList.cs
Copies the entire TagList to a compatible one-dimensional array, starting at the specified index of the target array.
public:
virtual void CopyTo(cli::array <System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>> ^ array, int arrayIndex);
public readonly void CopyTo (System.Collections.Generic.KeyValuePair<string,object>[] array, int arrayIndex);
abstract member CopyTo : System.Collections.Generic.KeyValuePair<string, obj>[] * int -> unit
override this.CopyTo : System.Collections.Generic.KeyValuePair<string, obj>[] * int -> unit
Public Sub CopyTo (array As KeyValuePair(Of String, Object)(), arrayIndex As Integer)
Parameters
- array
- KeyValuePair<String,Object>[]
The one-dimensional Array that is the destination of the elements copied from TagList. The Array must have zero-based indexing.
- arrayIndex
- Int32
The zero-based index in array
at which copying begins.
Implements
Exceptions
array
is null
.
arrayIndex
is less than 0 or greater than or equal to the array
length.
Applies to
.NET