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

정의

현재 IP 주소의 형식을 제공된 범위로 지정하려고 시도합니다.

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>

이 메서드가 반환되면 IP 주소는 문자 범위로 사용됩니다.

charsWritten
Int32

이 메서드가 반환되면 범위에 기록된 문자 수입니다.

반품

서식이 성공하면

적용 대상