UniqueId.ToCharArray Method

Puts the UniqueId value into a char array.

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

[SecuritySafeCriticalAttribute]
public int ToCharArray(
	char[] chars,
	int offset
)

Parameters

chars
Type: System.Char[]
The char array.
offset
Type: System.Int32
Position in the char array to start inserting the UniqueId value.

Return Value

Type: System.Int32
Number of entries in the char array filled by the UniqueId value.

ExceptionCondition
ArgumentNullException

chars is null.

ArgumentOutOfRangeException

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

ArgumentException

guid and offset provide less than 16 valid bytes.

This method is unsafe.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show: