PackageSerializationManager 類別

定義

提供基底類別,以管理會將 Windows Presentation Foundation (WPF) 根物件插入 XML 文件規格 (XPS) 套件的序列化程式和類型轉換器。Provides a base class to manage the serializers and type converters that insert Windows Presentation Foundation (WPF) root objects into an XML Paper Specification (XPS) package.

public ref class PackageSerializationManager abstract : IDisposable
public abstract class PackageSerializationManager : IDisposable
type PackageSerializationManager = class
    interface IDisposable
Public MustInherit Class PackageSerializationManager
Implements IDisposable
繼承
PackageSerializationManager
衍生
實作

建構函式

PackageSerializationManager()

在衍生類別中覆寫時,初始化 PackageSerializationManager 類別的新執行個體。When overridden in a derived class, initializes a new instance of the PackageSerializationManager class.

方法

Equals(Object)

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

(繼承來源 Object)
GetHashCode()

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

(繼承來源 Object)
GetType()

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

(繼承來源 Object)
MemberwiseClone()

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

(繼承來源 Object)
SaveAsXaml(Object)

在衍生類別中覆寫時,將指定的序列化物件儲存至 XML 文件規格 (XPS)XML Paper Specification (XPS) 套件。When overridden in a derived class, saves the specified serialized object to an XML 文件規格 (XPS)XML Paper Specification (XPS) package.

ToString()

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

(繼承來源 Object)

明確介面實作

IDisposable.Dispose()

此成員支援 Windows Presentation Foundation 基礎結構,但並不適合直接透過您的程式碼使用。This member supports the Windows Presentation Foundation infrastructure and is not intended to be used directly from your code.

適用於