DiscoveryDocumentReference.ReadDocument メソッド
アセンブリ: System.Web.Services (system.web.services.dll 内)

Dim instance As DiscoveryDocumentReference Dim stream As Stream Dim returnValue As Object returnValue = instance.ReadDocument(stream)
戻り値
参照される探索ドキュメントの内容を含んでいる DiscoveryDocument。

Dim myUrl As String = "http://localhost/Sample_vb.vsdisco" Dim myProtocol As New DiscoveryClientProtocol() Dim myReference As New DiscoveryDocumentReference(myUrl) Dim myFileStream As Stream = myProtocol.Download(myUrl) Dim myDiscoveryDocument As DiscoveryDocument = _ CType(myReference.ReadDocument(myFileStream), DiscoveryDocument)
string myUrl = "http://localhost/Sample_cs.vsdisco"; DiscoveryClientProtocol myProtocol = new DiscoveryClientProtocol(); DiscoveryDocumentReference myReference = new DiscoveryDocumentReference(myUrl); Stream myFileStream = myProtocol.Download(ref myUrl); DiscoveryDocument myDiscoveryDocument = (DiscoveryDocument)myReference.ReadDocument(myFileStream);
String^ myUrl = "http://localhost/Sample_cs.vsdisco"; DiscoveryClientProtocol^ myProtocol = gcnew DiscoveryClientProtocol; DiscoveryDocumentReference^ myReference = gcnew DiscoveryDocumentReference( myUrl ); Stream^ myFileStream = myProtocol->Download( myUrl ); DiscoveryDocument^ myDiscoveryDocument = dynamic_cast<DiscoveryDocument^>(myReference->ReadDocument( myFileStream ));

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


Weblioに収録されているすべての辞書からDiscoveryDocumentReference.ReadDocument メソッドを検索する場合は、下記のリンクをクリックしてください。

- DiscoveryDocumentReference.ReadDocument メソッドのページへのリンク