Namespace Field
Collapse the table of content
Expand the table of content

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 const string Namespace

Field Value

Type: System.String

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 : " +DiscoveryDocument.Namespace );

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft