Guid.TryWriteBytes Methode

Definition

Überlädt

Name Beschreibung
TryWriteBytes(Span<Byte>)

Versucht, die aktuelle GUID-Instanz in einen Bytebereich zu schreiben.

TryWriteBytes(Span<Byte>, Boolean, Int32)

TryWriteBytes(Span<Byte>)

Quelle:
Guid.cs
Quelle:
Guid.cs
Quelle:
Guid.cs
Quelle:
Guid.cs
Quelle:
Guid.cs

Versucht, die aktuelle GUID-Instanz in einen Bytebereich zu schreiben.

public:
 bool TryWriteBytes(Span<System::Byte> destination);
public bool TryWriteBytes(Span<byte> destination);
member this.TryWriteBytes : Span<byte> -> bool
Public Function TryWriteBytes (destination As Span(Of Byte)) As Boolean

Parameter

destination
Span<Byte>

Wenn diese Methode zurückgegeben wird, wird die GUID als Bytespanne verwendet.

Gibt zurück

true wenn die GUID erfolgreich in die angegebene Spanne geschrieben wird; false Andernfalls.

Gilt für:

TryWriteBytes(Span<Byte>, Boolean, Int32)

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

Parameter

destination
Span<Byte>
bigEndian
Boolean
bytesWritten
Int32

Gibt zurück

Gilt für: