DiscoveryDocument.Namespace Field

Namespace of the discovery XML element of a discovery document.

Namespace: System.Web.Services.Discovery
Assembly: System.Web.Services (in system.web.services.dll)

public:
literal String^ Namespace
public static final String Namespace
public const var Namespace : String
Not applicable.

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.

The following code example displays the XML namespace associated with the discovery XML element of a discovery document.

// Display the 'Namespace' field.
Console::WriteLine( "The namespace is : {0}", DiscoveryDocument::Namespace );


// Display the 'Namespace' field.
Console.WriteLine("The namespace is : " 
    + DiscoveryDocument.Namespace);

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

Community Additions

ADD
Show: