Guid.TryWriteBytes 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.
Overloads
TryWriteBytes(Span<Byte>) |
Tries to write the current GUID instance into a span of bytes. |
TryWriteBytes(Span<Byte>, Boolean, Int32) |
TryWriteBytes(Span<Byte>)
- Source:
- Guid.cs
- Source:
- Guid.cs
- Source:
- Guid.cs
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.
Applies to
TryWriteBytes(Span<Byte>, Boolean, Int32)
- Source:
- Guid.cs
- Source:
- 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
Parameters
- bigEndian
- Boolean
- bytesWritten
- Int32
Returns
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET