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

정의

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

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.

반품

서식이 성공하면

적용 대상