MarkupWriter MarkupWriter MarkupWriter MarkupWriter Class

定義

提供將物件寫入 XAML 格式的方法。Provides methods to write an object to XAML format.

public ref class MarkupWriter sealed : IDisposable
public sealed class MarkupWriter : IDisposable
type MarkupWriter = class
    interface IDisposable
Public NotInheritable Class MarkupWriter
Implements IDisposable
繼承
MarkupWriterMarkupWriterMarkupWriterMarkupWriter
實作

備註

GetMarkupObjectFor 可用來具現化MarkupObjectGetMarkupObjectFor can be used to instantiate a MarkupObject.

方法

Dispose() Dispose() Dispose() Dispose()

釋放 MarkupWriter 使用的資源。Releases the resources used by the MarkupWriter.

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)
GetMarkupObjectFor(Object) GetMarkupObjectFor(Object) GetMarkupObjectFor(Object) GetMarkupObjectFor(Object)

從指定的物件建立 MarkupObject 的執行個體。Creates an instance of a MarkupObject from the specified object.

GetMarkupObjectFor(Object, XamlDesignerSerializationManager) GetMarkupObjectFor(Object, XamlDesignerSerializationManager) GetMarkupObjectFor(Object, XamlDesignerSerializationManager) GetMarkupObjectFor(Object, XamlDesignerSerializationManager)

從指定的物件以及指定的序列化 (Serialization) 管理員建立 MarkupObject 的執行個體。Creates an instance of a MarkupObject from the specified object and the specified serialization manager.

GetType() GetType() GetType() GetType()

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

(Inherited from Object)
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)

適用於

另請參閱