Guid.TryWriteBytes(Span<Byte>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Tries to write the current GUID instance into a span of bytes.
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
Parameters
Returns
true if the GUID is successfully written to the specified span; false otherwise.