NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

XmlReader.GetDefaultNamespace

Returns the current default namespace URI.

[Visual Basic]
MustOverride Public Function GetDefaultNamespace() As String
[C#]
public abstract string GetDefaultNamespace();
[C++]
public: virtual String* GetDefaultNamespace() = 0;
[JScript]
public abstract function GetDefaultNamespace() : String;

Return Value

The namespace URI of the default namespace at the current position in the XML input stream. If no namespaces have been declared, an empty string is returned.

Remarks

This method returns the namespace URI of the default namespace at the current position in the XML input stream. If the reader is positioned on a start tag, the resolution process includes prefixes that are declared in that start tag.

See Also

XmlReader Class | XmlReader Members | System.Xml Namespace