Version.TryFormat 메서드

정의

오버로드

TryFormat(Span<Char>, Int32, Int32)

이 버전 인스턴스의 형식을 문자 범위로 지정합니다.

TryFormat(Span<Byte>, Int32, Int32)

이 버전 instance 바이트 범위로 서식을 지정하려고 시도합니다.

TryFormat(Span<Char>, Int32)

이 버전 인스턴스의 형식을 문자 범위로 지정합니다.

TryFormat(Span<Byte>, Int32)

이 버전 instance 바이트 범위로 서식을 지정하려고 시도합니다.

TryFormat(Span<Char>, Int32, Int32)

Source:
Version.cs
Source:
Version.cs
Source:
Version.cs

이 버전 인스턴스의 형식을 문자 범위로 지정합니다.

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

매개 변수

destination
Span<Char>

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

fieldCount
Int32

반환할 구성 요소의 수입니다. 값의 범위는 0에서 4 사이입니다.

charsWritten
Int32

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

반환

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

적용 대상

TryFormat(Span<Byte>, Int32, Int32)

Source:
Version.cs
Source:
Version.cs

이 버전 instance 바이트 범위로 서식을 지정하려고 시도합니다.

public:
 bool TryFormat(Span<System::Byte> utf8Destination, int fieldCount, [Runtime::InteropServices::Out] int % bytesWritten);
public bool TryFormat (Span<byte> utf8Destination, int fieldCount, out int bytesWritten);
member this.TryFormat : Span<byte> * int * int -> bool
Public Function TryFormat (utf8Destination As Span(Of Byte), fieldCount As Integer, ByRef bytesWritten As Integer) As Boolean

매개 변수

utf8Destination
Span<Byte>

UTF-8바이트 범위로 형식이 지정된 이 instance 값을 쓸 범위입니다.

fieldCount
Int32

반환할 구성 요소의 수입니다. 값의 범위는 0에서 4 사이입니다.

bytesWritten
Int32

이 메서드가 반환되면 에 기록 utf8Destination된 바이트 수가 포함됩니다.

반환

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

적용 대상

TryFormat(Span<Char>, Int32)

Source:
Version.cs
Source:
Version.cs
Source:
Version.cs

이 버전 인스턴스의 형식을 문자 범위로 지정합니다.

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>

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

charsWritten
Int32

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

반환

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

적용 대상

TryFormat(Span<Byte>, Int32)

Source:
Version.cs
Source:
Version.cs

이 버전 instance 바이트 범위로 서식을 지정하려고 시도합니다.

public:
 bool TryFormat(Span<System::Byte> utf8Destination, [Runtime::InteropServices::Out] int % bytesWritten);
public bool TryFormat (Span<byte> utf8Destination, out int bytesWritten);
member this.TryFormat : Span<byte> * int -> bool
Public Function TryFormat (utf8Destination As Span(Of Byte), ByRef bytesWritten As Integer) As Boolean

매개 변수

utf8Destination
Span<Byte>

UTF-8바이트 범위로 형식이 지정된 이 instance 값을 쓸 범위입니다.

bytesWritten
Int32

이 메서드가 반환되면 에 기록 utf8Destination된 바이트 수가 포함됩니다.

반환

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

적용 대상