Class XmlIdentifierAttribute
Specifies which property is used as identifier
Inherited Members
Namespace: NMF.Serialization
Assembly: NMF.Serialization.dll
Syntax
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Struct|AttributeTargets.Interface, Inherited = false, AllowMultiple = false)]
public sealed class XmlIdentifierAttribute : Attribute
Constructors
| Edit this page View SourceXmlIdentifierAttribute(string)
Creates a new XmlIdentifierAttribute with the given identifier
Declaration
public XmlIdentifierAttribute(string identifier)
Parameters
Type | Name | Description |
---|---|---|
string | identifier | The property to identify instances for this class |
Properties
| Edit this page View SourceIdentifier
Gets the identifier to identify the instances of this class
Declaration
public string Identifier { get; }
Property Value
Type | Description |
---|---|
string |