DiscoveryClientDocumentCollection.Item[String] 속성
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
지정된 URL을 사용하여 클라이언트 검색 문서 개체를 DiscoveryClientDocumentCollection 가져오거나 설정합니다.
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
매개 변수
- url
- String
에서 가져오기 또는 설정할 검색 문서의 URL입니다 DiscoveryClientDocumentCollection.
속성 값
Object 클라이언트에 검색되고 다운로드된 문서를 나타내는 형식입니다. 개체 ServiceDescription의 기본 형식은 , XmlSchema또는 DiscoveryDocument.
예외
url은 null입니다.
예제
다음 코드 예제에서는 변수 값과 일치하는 URL이 있는 DiscoveryClientDocumentCollection 검색 문서의 형식을 콘솔에 myStringUrl 출력합니다.
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()))