DiscoveryDocument.Namespace Field
Namespace of the discovery XML element of a discovery document.
[Visual Basic] Public Const Namespace As String [C#] public const string Namespace; [C++] public: const String* Namespace; [JScript] public var Namespace : String;
Remarks
A discovery document contains references to documents describing Web Services. These references are XML elements contained within a discovery XML element. That discovery XML element is a member of the XML namespace specified by the Namespace constant.
Example
[Visual Basic, C#, C++] The following code example displays the XML namespace associated with the discovery XML element of a discovery document.
[Visual Basic] ' Display the 'Namespace' field. Console.WriteLine("The namespace is : " + DiscoveryDocument.Namespace) [C#] // Display the 'Namespace' field. Console.WriteLine( "The namespace is : " +DiscoveryDocument.Namespace ); [C++] // Display the 'Namespace' field. Console::WriteLine(S"The namespace is : {0}", DiscoveryDocument::Namespace);
[JScript] No example is available for JScript. To view a Visual Basic, C#, or C++ example, click the Language Filter button
in the upper-left corner of the page.
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
See Also
DiscoveryDocument Class | DiscoveryDocument Members | System.Web.Services.Discovery Namespace