Aracılığıyla paylaş


DiscoveryClientDocumentCollection.Item[String] Özellik

Tanım

belirtilen URL'ye sahip istemci bulma belgesi nesnesini DiscoveryClientDocumentCollection alır veya ayarlar.

public:
 property System::Object ^ default[System::String ^] { System::Object ^ get(System::String ^ url); void set(System::String ^ url, System::Object ^ value); };
public object this[string url] { get; set; }
member this.Item(string) : obj with get, set
Default Public Property Item(url As String) As Object

Parametreler

url
String

adresinden alınacak veya ayarlanacağı bulma belgesinin URL'si DiscoveryClientDocumentCollection.

Özellik Değeri

Object

Object Bulunan ve istemciye indirilen belgeyi temsil eden bir. Nesnenin temel türü , ServiceDescriptionXmlSchemaveya DiscoveryDocumentolabilir.

Özel durumlar

url, null değeridir.

Örnekler

Aşağıdaki kod örneği konsoluna, içinde değişkenin değeriyle eşleşen bir URL'ye sahip bulma belgesinin DiscoveryClientDocumentCollection myStringUrl türünü verir.

Object^ myObject = myDiscoveryClientDocumentCollection[ myStringUrl ];
Console::WriteLine( "Object representing the Url : {0}", myObject );
object myObject = myDiscoveryClientDocumentCollection[myStringUrl];
Console.WriteLine("Object representing the Url : " + myObject.ToString());
Dim myObject As Object = myDiscoveryClientDocumentCollection(myStringUrl)
Console.WriteLine(("Object representing the Url : " + myObject.ToString()))

Şunlara uygulanır