Guid.TryWriteBytes Metod

Definition

Överlagringar

Name Description
TryWriteBytes(Span<Byte>)

Försöker skriva den aktuella GUID-instansen till ett intervall med byte.

TryWriteBytes(Span<Byte>, Boolean, Int32)

TryWriteBytes(Span<Byte>)

Källa:
Guid.cs
Källa:
Guid.cs
Källa:
Guid.cs
Källa:
Guid.cs
Källa:
Guid.cs

Försöker skriva den aktuella GUID-instansen till ett intervall med byte.

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

Parametrar

destination
Span<Byte>

När den här metoden returnerar, GUID som ett intervall med byte.

Returer

true om GUID har skrivits till det angivna intervallet; false Annars.

Gäller för

TryWriteBytes(Span<Byte>, Boolean, Int32)

Källa:
Guid.cs
Källa:
Guid.cs
Källa:
Guid.cs
Källa:
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

Parametrar

destination
Span<Byte>
bigEndian
Boolean
bytesWritten
Int32

Returer

Gäller för