Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
IList.Add Method (Object)
Collapse the table of content
Expand the table of content

XmlElementAttributes.IList.Add Method (Object)

.NET Framework 4.6 and 4.5

Adds an object to the end of the XmlElementAttributes.

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

int IList.Add(
	Object value
)

Parameters

value
Type: System.Object

The Object to be added to the end of the XmlElementAttributes. The value can be null.

Return Value

Type: System.Int32
The XmlElementAttributes index at which the value has been added.

Implements

IList.Add(Object)

ExceptionCondition
NotSupportedException

The XmlElementAttributes is read-only.

-or-

The XmlElementAttributes has a fixed size.

.NET Framework

Supported in: 4.6

.NET for Windows Phone apps

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

Portable Class Library

Supported in: Portable Class Library
Show:
© 2015 Microsoft