C# 클래스 YAXLib.YAXNamespaceAttribute

상속: YAXBaseAttribute
파일 보기 프로젝트 열기: sinairv/YAXLib

공개 메소드들

메소드 설명
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"

메소드 상세

YAXNamespaceAttribute() 공개 메소드

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
리턴 System

YAXNamespaceAttribute() 공개 메소드

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
리턴 System