DiscoveryDocument.References Property

Definition

A list of references contained within the discovery document.

C#
public System.Collections.IList References { get; }

Property Value

An IList containing the references within the discovery document.

Examples

The following code example enumerates over the references for a discovery document.

C#
// Enumerate the 'References' in the DiscoveryDocument.
IEnumerator myEnumerator = myDiscoveryDocument.References.GetEnumerator();
Console.WriteLine( "The 'References' in the discovery document are-" );
while ( myEnumerator.MoveNext() )
{
   Console.Write( ((DiscoveryDocumentReference)myEnumerator.Current).Url );
}

Remarks

A discovery document contains references to information about the existence of XML Web services. These references can refer to service descriptions, XSD schemas, or other discovery documents. The References property contains a list of these references.

Applies to

Product Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also