ReadOnlyMemory<T>.Slice 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
| Name | Description |
|---|---|
| Slice(Int32) |
지정된 위치에서 시작하여 끝까지 지정된 메모리 영역에서 조각을 형성합니다. |
| Slice(Int32, Int32) |
요소의 위치에서 |
Slice(Int32)
- Source:
- ReadOnlyMemory.cs
- Source:
- ReadOnlyMemory.cs
- Source:
- ReadOnlyMemory.cs
- Source:
- ReadOnlyMemory.cs
- Source:
- ReadOnlyMemory.cs
지정된 위치에서 시작하여 끝까지 지정된 메모리 영역에서 조각을 형성합니다.
public:
ReadOnlyMemory<T> Slice(int start);
public ReadOnlyMemory<T> Slice(int start);
member this.Slice : int -> ReadOnlyMemory<'T>
Public Function Slice (start As Integer) As ReadOnlyMemory(Of T)
매개 변수
- start
- Int32
이 조각을 시작할 인덱스입니다.
반품
원하는 조각을 나타내는 읽기 전용 메모리 영역입니다.
예외
start가 0보다 작거나 큼 Length
적용 대상
Slice(Int32, Int32)
- Source:
- ReadOnlyMemory.cs
- Source:
- ReadOnlyMemory.cs
- Source:
- ReadOnlyMemory.cs
- Source:
- ReadOnlyMemory.cs
- Source:
- ReadOnlyMemory.cs
요소의 위치에서 start 시작하여 length 지정된 메모리 영역에서 조각을 만듭니다.
public:
ReadOnlyMemory<T> Slice(int start, int length);
public ReadOnlyMemory<T> Slice(int start, int length);
member this.Slice : int * int -> ReadOnlyMemory<'T>
Public Function Slice (start As Integer, length As Integer) As ReadOnlyMemory(Of T)
매개 변수
- start
- Int32
이 조각을 시작할 인덱스입니다.
- length
- Int32
조각의 원하는 길이입니다.
반품
원하는 조각을 나타내는 읽기 전용 메모리 영역입니다.
예외
start, length또는 start + length 현재 인스턴스의 범위를 벗어났습니다.