Table of Contents

Class XmlIdentifierAttribute

Namespace
NMF.Serialization
Assembly
NMF.Serialization.dll

Specifies which property is used as identifier

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

Constructors

XmlIdentifierAttribute(string)

Creates a new XmlIdentifierAttribute with the given identifier

public XmlIdentifierAttribute(string identifier)

Parameters

identifier string

The property to identify instances for this class

Properties

Identifier

Gets the identifier to identify the instances of this class

public string Identifier { get; }

Property Value

string