Class XmlDefaultPropertyAttribute
Marks a property as default property
Inherited Members
Namespace: NMF.Serialization
Assembly: NMF.Serialization.dll
Syntax
[AttributeUsage(AttributeTargets.Property)]
public class XmlDefaultPropertyAttribute : Attribute
Constructors
| Edit this page View SourceXmlDefaultPropertyAttribute(bool)
Creates a new instance
Declaration
public XmlDefaultPropertyAttribute(bool isDefault)
Parameters
Type | Name | Description |
---|---|---|
bool | isDefault | True, if the annotated property is the default property, otherwise False |
Properties
| Edit this page View SourceIsDefault
Gets a value indicating whether this is the default property or not
Declaration
public bool IsDefault { get; }
Property Value
Type | Description |
---|---|
bool |