Class XmlNamespaceAttribute
Allows you to specify a XmlQualifiedName (namespace short-name) for XmlStorage to use.
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
[SuppressMessage("Microsoft.Design", "CA1019:DefineAccessorsForAttributeArguments", Justification = "Values set in constructor are available via QualifiedName")]
public sealed class XmlNamespaceAttribute : Attribute, _Attribute
- Inheritance
-
objectXmlNamespaceAttribute
- Implements
- Inherited Members
- Extension Methods
Constructors
XmlNamespaceAttribute(string, string)
Specified a XmlQualifiedName (namespace short-name) for XmlStorage to use.
public XmlNamespaceAttribute(string name, string ns)
Parameters
Properties
QualifiedName
The XmlQualifiedName.
public XmlQualifiedName QualifiedName { get; }