UniqueId Constructor (Byte[])

UniqueId Constructor (Byte())

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Creates a new instance of the UniqueId class using a byte array that represents a Guid.

Namespace:  System.Xml
Assembly:  System.Runtime.Serialization (in System.Runtime.Serialization.dll)

'Declaration
Public Sub New ( _
	guid As Byte() _
)

Parameters

guid
Type: System.Byte ()
A byte array that represents a Guid.

ExceptionCondition
ArgumentNullException

guid is Nothing.

ArgumentException

guid provides less than 16 valid bytes.

Only the first 16 bytes of the array are used.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft