FrozenDictionary<TKey,TValue>.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<TKey,TValue>>) |
Copies the elements of the dictionary to a span of type KeyValuePair<TKey,TValue>. |
CopyTo(KeyValuePair<TKey,TValue>[], Int32) |
Copies the elements of the dictionary to an array of type KeyValuePair<TKey,TValue>, starting at the specified |
CopyTo(Span<KeyValuePair<TKey,TValue>>)
- Source:
- FrozenDictionary.cs
- Source:
- FrozenDictionary.cs
Copies the elements of the dictionary to a span of type KeyValuePair<TKey,TValue>.
public:
void CopyTo(Span<System::Collections::Generic::KeyValuePair<TKey, TValue>> destination);
public void CopyTo (Span<System.Collections.Generic.KeyValuePair<TKey,TValue>> destination);
member this.CopyTo : Span<System.Collections.Generic.KeyValuePair<'Key, 'Value>> -> unit
Public Sub CopyTo (destination As Span(Of KeyValuePair(Of TKey, TValue)))
Parameters
- destination
- Span<KeyValuePair<TKey,TValue>>
The span that is the destination of the elements copied from the dictionary.
Applies to
CopyTo(KeyValuePair<TKey,TValue>[], Int32)
- Source:
- FrozenDictionary.cs
- Source:
- FrozenDictionary.cs
Copies the elements of the dictionary to an array of type KeyValuePair<TKey,TValue>, starting at the specified destinationIndex
.
public:
virtual void CopyTo(cli::array <System::Collections::Generic::KeyValuePair<TKey, TValue>> ^ destination, int destinationIndex);
public void CopyTo (System.Collections.Generic.KeyValuePair<TKey,TValue>[] destination, int destinationIndex);
abstract member CopyTo : System.Collections.Generic.KeyValuePair<'Key, 'Value>[] * int -> unit
override this.CopyTo : System.Collections.Generic.KeyValuePair<'Key, 'Value>[] * int -> unit
Public Sub CopyTo (destination As KeyValuePair(Of TKey, TValue)(), destinationIndex As Integer)
Parameters
- destination
- KeyValuePair<TKey,TValue>[]
The array that is the destination of the elements copied from the dictionary.
- destinationIndex
- Int32
The zero-based index in destination
at which copying begins.
Implements
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기