<PackageReference Include="System.Xml.XmlSerializer" Version="4.0.11-beta-23409" />

XmlElementAttributes

Represents a collection of XmlElementAttribute objects used by the XmlSerializer to override the default way it serializes a class.
public int Count { get; }

Gets the number of elements contained in the XmlElementAttributes.

public XmlElementAttribute this[int index] { get; set; }

Gets or sets the element at the specified index.

Initializes a new instance of the XmlElementAttributes class.

public int Add(XmlElementAttribute attribute)

Adds an XmlElementAttribute to the collection.

public void Clear()

Removes all elements from the XmlElementAttributes.

public bool Contains(XmlElementAttribute attribute)

Determines whether the collection contains the specified object.

public void CopyTo(XmlElementAttribute[] array, int index)

Copies the XmlElementAttributes, or a portion of it to a one-dimensional array.

Returns an enumerator for the entire XmlElementAttributes.

public int IndexOf(XmlElementAttribute attribute)

Gets the index of the specified XmlElementAttribute.

public void Insert(int index, XmlElementAttribute attribute)

Inserts an XmlElementAttribute into the collection.

public void Remove(XmlElementAttribute attribute)

Removes the specified object from the collection.

public void RemoveAt(int index)

Removes the XmlElementAttributes item at the specified index.