Rune.TryEncodeToUtf16(Span<Char>, Int32) 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
이를 Rune UTF-16으로 인코딩된 대상 버퍼로 인코딩합니다.
public:
bool TryEncodeToUtf16(Span<char> destination, [Runtime::InteropServices::Out] int % charsWritten);
public bool TryEncodeToUtf16(Span<char> destination, out int charsWritten);
member this.TryEncodeToUtf16 : Span<char> * int -> bool
Public Function TryEncodeToUtf16 (destination As Span(Of Char), ByRef charsWritten As Integer) As Boolean
매개 변수
반품
true값이 버퍼에 기록된 경우 그렇지 않으면 . false
설명
Utf16SequenceLength 버퍼의 필요한 크기를 destination 결정하기 위해 속성을 미리 쿼리할 수 있습니다.