UniqueId Constructor (Char[], Int32, Int32)

UniqueId Constructor (Char(), Int32, Int32)

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

Creates a new instance of this class starting from an offset within a char using a specified number of entries.

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

'Declaration
Public Sub New ( _
	chars As Char(), _
	offset As Integer, _
	count As Integer _
)

Parameters

chars
Type: System.Char ()
A char array that represents a Guid.
offset
Type: System.Int32
Offset position within the char array that represents a Guid.
count
Type: System.Int32
Number of array entries to use, starting from offset.

ExceptionCondition
ArgumentNullException

chars is Nothing.

ArgumentOutOfRangeException

offset less than zero or greater than the length of the array.

ArgumentOutOfRangeException

count less than zero or greater than the length of the array minus offset.

FormatException

count equals zero.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft