C# Class YAXLib.YAXNamespaceAttribute

Inheritance: YAXBaseAttribute
ファイルを表示 Open project: sinairv/YAXLib

Public Methods

Method Description
YAXNamespaceAttribute ( string defaultNamespace ) : System

Initializes a new instance of the YAXNamespaceAttribute class.

The element this applies to will take on the given XML namespace. In the case of this constructor, the default one defined by xmlns="namespace"

YAXNamespaceAttribute ( string namespacePrefix, string xmlNamespace ) : System

Initializes a new instance of the YAXNamespaceAttribute class.

The element this applies to will take on the given XML namespace. The namespace will be added to the root XML element, with the given prefix in the form: xmlns:prefix="namespace"

Method Details

YAXNamespaceAttribute() public method

Initializes a new instance of the YAXNamespaceAttribute class.
The element this applies to will take on the given XML namespace. In the case of this constructor, the default one defined by xmlns="namespace"
public YAXNamespaceAttribute ( string defaultNamespace ) : System
defaultNamespace string The default namespace to use for this item
return System

YAXNamespaceAttribute() public method

Initializes a new instance of the YAXNamespaceAttribute class.
The element this applies to will take on the given XML namespace. The namespace will be added to the root XML element, with the given prefix in the form: xmlns:prefix="namespace"
public YAXNamespaceAttribute ( string namespacePrefix, string xmlNamespace ) : System
namespacePrefix string The prefix to use for this element's namespace
xmlNamespace string The xml namespace to use for this item
return System