XpsResourceStream XpsResourceStream XpsResourceStream XpsResourceStream Class

定義

表示 XML 文件規格 (XPS) 資源的資料流和統一資源識別項 (URI)。Represents the stream and uniform resource identifier (URI) of an XML Paper Specification (XPS) resource.

public ref class XpsResourceStream
public class XpsResourceStream
type XpsResourceStream = class
Public Class XpsResourceStream
繼承
XpsResourceStreamXpsResourceStreamXpsResourceStreamXpsResourceStream

建構函式

XpsResourceStream(Stream, Uri) XpsResourceStream(Stream, Uri) XpsResourceStream(Stream, Uri) XpsResourceStream(Stream, Uri)

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

屬性

Stream Stream Stream Stream

取得資源的 StreamGets the Stream of the resource.

Uri Uri Uri Uri

取得資源的 UriGets the Uri of the resource.

方法

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

做為預設雜湊函式。Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(Inherited from Object)
Initialize() Initialize() Initialize() Initialize()

初始化 Stream 中的 XpsResourceStreamInitializes the Stream in the XpsResourceStream.

MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

建立目前 Object 的淺層複本 (Shallow Copy)。Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(Inherited from Object)

適用於