Table of Contents

Class XmlElementNameAttribute

Namespace
NMF.Serialization
Assembly
NMF.Serialization.dll

Attribute to provide the serialization name for the specified element. This persistance name can be changed by the serialization setting (various case types)

[AttributeUsage(AttributeTargets.Class|AttributeTargets.Struct|AttributeTargets.Enum|AttributeTargets.Property|AttributeTargets.Interface, Inherited = true, AllowMultiple = false)]
public sealed class XmlElementNameAttribute : Attribute
Inheritance
XmlElementNameAttribute
Inherited Members

Constructors

XmlElementNameAttribute(string)

Creates a XmlElementNameAttribute

public XmlElementNameAttribute(string elementName)

Parameters

elementName string

The name to use in serialization for the specified element

Properties

ElementName

The name for serialization of the specified element

public string ElementName { get; }

Property Value

string