Share via


DiscoveryDocument.References Eigenschaft

Definition

Eine Liste von Verweisen, die im Discoverydokument enthalten sind.

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

Eigenschaftswert

IList

Eine IList, die die Verweise im Discoverydokument enthält.

Beispiele

Im folgenden Codebeispiel werden die Verweise für ein Ermittlungsdokument aufgezählt.

// 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

Hinweise

Ein Ermittlungsdokument enthält Verweise auf Informationen zum Vorhandensein von XML-Webdiensten. Diese Verweise können auf Dienstbeschreibungen, XSD-Schemas oder andere Ermittlungsdokumente verweisen. Die References Eigenschaft enthält eine Liste dieser Verweise.

Gilt für

Siehe auch