Export (0) Print
Expand All

XmlArrayItemAttributes.IList.Insert Method (Int32, Object)

.NET Framework 4.5

Inserts an element into the XmlArrayItemAttributes at the specified index.

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

void IList.Insert(
	int index,
	Object value
)

Parameters

index
Type: System.Int32

The zero-based index at which value should be inserted.

value
Type: System.Object

The Object to insert. The value can be null.

Implements

IList.Insert(Int32, Object)

ExceptionCondition
ArgumentOutOfRangeException

index is less than zero.

-or-

index is greater than Count.

NotSupportedException

The XmlArrayItemAttributes is read-only.

-or-

The XmlArrayItemAttributes has a fixed size.

Portable Class Library

Supported in: Portable Class Library

.NET for Windows Store apps

Supported in: Windows 8

.NET for Windows Phone apps

Supported in: Windows Phone 8.1, Windows Phone Silverlight 8.1, Windows Phone Silverlight 8

Windows Phone 8.1, Windows Phone 8

Show:
© 2014 Microsoft