Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Guid.ToByteArray Method

Returns a 16-element byte array that contains the value of the GUID.

[Visual Basic]
Public Function ToByteArray() As Byte()
[C#]
public byte[] ToByteArray();
[C++]
public: unsigned char ToByteArray()  __gc[];
[JScript]
public function ToByteArray() : Byte[];

Return Value

A 16-element byte array.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

Guid Structure | Guid Members | System Namespace

Show:
© 2015 Microsoft