Boolean.TryFormat(Span<Char>, Int32) 메서드

정의

현재 boolean 인스턴스 값의 형식을 제공된 문자 범위로 지정하려고 시도합니다.

public:
 bool TryFormat(Span<char> destination, [Runtime::InteropServices::Out] int % charsWritten);
public bool TryFormat (Span<char> destination, out int charsWritten);
member this.TryFormat : Span<char> * int -> bool
Public Function TryFormat (destination As Span(Of Char), ByRef charsWritten As Integer) As Boolean

매개 변수

destination
Span<Char>

문자 범위로 서식이 지정된 이 인스턴스의 값을 작성할 범위입니다.

charsWritten
Int32

이 메서드가 반환되면 에 기록 destination된 문자 수가 포함됩니다.

반환

형식 지정에 성공했으면 true이고, 실패했으면 false입니다.

적용 대상