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