XpsResourceStream(Stream, Uri) 建構函式

定義

使用指定的串流與統一資源識別項 (URI),初始化 XpsResourceStream 類別的新執行個體。Initializes a new instance of the XpsResourceStream class by using the specified stream and uniform resource identifier (URI).

public:
 XpsResourceStream(System::IO::Stream ^ stream, Uri ^ uri);
public XpsResourceStream (System.IO.Stream stream, Uri uri);
new System.Windows.Xps.Serialization.XpsResourceStream : System.IO.Stream * Uri -> System.Windows.Xps.Serialization.XpsResourceStream

參數

stream
Stream

包含資源的資料流。The stream that contains the resource.

uri
Uri

資源的 URI。The URI of the resource.

適用於