Export (0) Print
Expand All

XmlElementAttributes.IList.Insert Method (Int32, Object)

.NET Framework 4.5

Inserts an element into the XmlElementAttributes at the specified index.

Namespace:  System.Xml.Serialization
Assembly:  System.Xml.XmlSerializer (in System.Xml.XmlSerializer.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 XmlElementAttributes is read-only.

-or-

The XmlElementAttributes has a fixed size.

.NET Framework

Supported in: 4.6

Portable Class Library

Supported in: Portable Class Library

.NET for Windows Store apps

Supported in: Windows 8

Supported in: Windows Phone 8.1

Supported in: Windows Phone Silverlight 8.1

Supported in: Windows Phone Silverlight 8

Windows Phone 8.1, Windows Phone 8

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft