Table of Contents

Class XmlNamespacePrefixAttribute

Namespace
NMF.Serialization
Assembly
NMF.Serialization.dll

Attribute to provide the Xml-namespace prefix to use in Xml-serialization for the specified element

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

Constructors

XmlNamespacePrefixAttribute(string)

Creates a XmlNamespacePrefixAttribute

public XmlNamespacePrefixAttribute(string nameSpacePrefix)

Parameters

nameSpacePrefix string

Xml-namespace prefix to use in serialization

Properties

NamespacePrefix

The Xml-namespace prefix to use in serialization in Xml

public string NamespacePrefix { get; }

Property Value

string