MarkupWriter 类

定义

提供用来将对象写入 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
继承
MarkupWriter
实现

注解

GetMarkupObjectFor可用于实例化 MarkupObjectGetMarkupObjectFor can be used to instantiate a MarkupObject.

方法

Dispose()

释放由 MarkupWriter 占用的资源。Releases the resources used by the MarkupWriter.

Equals(Object)

确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

用作默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetMarkupObjectFor(Object)

从指定对象创建 MarkupObject 的实例。Creates an instance of a MarkupObject from the specified object.

GetMarkupObjectFor(Object, XamlDesignerSerializationManager)

从指定对象和指定序列化管理器创建 MarkupObject 的实例。Creates an instance of a MarkupObject from the specified object and the specified serialization manager.

GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(继承自 Object)

适用于

另请参阅