Class XmlElementNameAttribute
Attribute to provide the serialization name for the specified element. This persistance name can be changed by the serialization setting (various case types)
Inherited Members
Namespace: NMF.Serialization
Assembly: NMF.Serialization.dll
Syntax
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Struct|AttributeTargets.Enum|AttributeTargets.Property|AttributeTargets.Interface, Inherited = true, AllowMultiple = false)]
public sealed class XmlElementNameAttribute : Attribute
Constructors
| Edit this page View SourceXmlElementNameAttribute(string)
Creates a XmlElementNameAttribute
Declaration
public XmlElementNameAttribute(string elementName)
Parameters
Type | Name | Description |
---|---|---|
string | elementName | The name to use in serialization for the specified element |
Properties
| Edit this page View SourceElementName
The name for serialization of the specified element
Declaration
public string ElementName { get; }
Property Value
Type | Description |
---|---|
string |