This documentation is archived and is not being maintained.

Guid.ToByteArray Method

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

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

Return Value

A 16-element byte array.


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