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

XmlElementAttribute

public string DataType { get; set; }

public string ElementName { get; set; }

public XmlSchemaForm Form { get; set; }

public bool IsNullable { get; set; }

public string Namespace { get; set; }

public int Order { get; set; }

public Type Type { get; set; }

public XmlElementAttribute(string elementName)

public XmlElementAttribute(string elementName, Type type)