Edit

Share via


DiscoveryDocument.Namespace Field

Definition

Namespace of the discovery XML element of a discovery document.

public: System::String ^ Namespace;
public const string Namespace;
val mutable Namespace : string
Public Const Namespace As String 

Field Value

Examples

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 );
' Display the 'Namespace' field.
Console.WriteLine("The namespace is : " + DiscoveryDocument.Namespace)

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.

Applies to