指定した Stream オブジェクトの XML データから XPathDocument クラスの新しいインスタンスを初期化します。
名前空間: System.Xml.XPath
アセンブリ: System.Xml (system.xml.dll 内)
構文
'宣言
Public Sub New ( _
stream As Stream _
)
'使用
Dim stream As Stream
Dim instance As New XPathDocument(stream)
public XPathDocument (
Stream stream
)
public:
XPathDocument (
Stream^ stream
)
public XPathDocument (
Stream stream
)
public function XPathDocument (
stream : Stream
)
パラメータ
- stream
XML データを格納している Stream オブジェクト。
例外
例外の種類 | 条件 |
---|---|
XML データでエラーが発生しました。XPathDocument が空です。 |
|
パラメータとして渡される Stream オブジェクトは null 参照 (Visual Basic では Nothing) です。 |
プラットフォーム
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 によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
バージョン情報
.NET Framework
サポート対象 : 2.0、1.1、1.0