DiscoveryDocument.References Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A list of references contained within the discovery document.
public:
property System::Collections::IList ^ References { System::Collections::IList ^ get(); };
public System.Collections.IList References { get; }
member this.References : System.Collections.IList
Public ReadOnly Property References As IList
An IList containing the references within the discovery document.
The following code example enumerates over the references for a discovery document.
// 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( (dynamic_cast<DiscoveryDocumentReference^>(myEnumerator->Current)->Url) );
// 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 );
}
' Enumerate the 'References' in the DiscoveryDocument.
Dim myEnumerator As IEnumerator = myDiscoveryDocument.References.GetEnumerator()
Console.WriteLine("The 'References' in the discovery document are-")
While myEnumerator.MoveNext()
Console.Write(CType(myEnumerator.Current, DiscoveryDocumentReference).Url)
End While
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.
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 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: