Name

XmlNamespaceDeclarationsAttribute — System.Xml.Serialization (system.xml.dll) CF 1.0  class 

Synopsis

public class XmlNamespaceDeclarationsAttribute : Attribute {
// Public Constructors
   public XmlNamespaceDeclarationsAttribute( );  
}

This is used to specify the namespaces used in an XML document, and their prefixes. It can only be applied to one member that returns an instance of XmlSerializerNamespaces per class.

Hierarchy

System.ObjectSystem.AttributeXmlNamespaceDeclarationsAttribute

Valid On

Property, Field, Parameter, ReturnValue

Get .NET & XML now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.