VectorValueSerializer 类

定义

String 的实例与 Vector 的实例进行来回转换。Converts instances of String to and from instances of Vector.

public ref class VectorValueSerializer : System::Windows::Markup::ValueSerializer
public class VectorValueSerializer : System.Windows.Markup.ValueSerializer
type VectorValueSerializer = class
    inherit ValueSerializer
Public Class VectorValueSerializer
Inherits ValueSerializer
继承
VectorValueSerializer

注解

通常,此类仅供 MarkupWriter 用于序列化目的使用。This class is typically only utilized by the MarkupWriter for serialization purposes.

构造函数

VectorValueSerializer()

初始化 VectorValueSerializer 类的新实例。Initializes a new instance of the VectorValueSerializer class.

方法

CanConvertFromString(String, IValueSerializerContext)

确定指定的 String 是否可转换为 Vector 的实例。Determines whether the specified String can be converted to an instance of Vector.

CanConvertToString(Object, IValueSerializerContext)

确定指定的 Vector 是否可以转换为 StringDetermines whether the specified Vector can be converted to a String.

ConvertFromString(String, IValueSerializerContext)

String 转换为 VectorConverts a String into a Vector.

ConvertToString(Object, IValueSerializerContext)

Vector 的实例转换为 StringConverts an instance of Vector to a String.

Equals(Object)

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

(继承自 Object)
GetConvertFromException(Object)

返回当转换无法执行时所引发的异常。Returns an exception to throw when a conversion cannot be performed.

(继承自 ValueSerializer)
GetConvertToException(Object, Type)

返回当转换无法执行时所引发的异常。Returns an exception to throw when a conversion cannot be performed.

(继承自 ValueSerializer)
GetHashCode()

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

(继承自 Object)
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)
TypeReferences(Object, IValueSerializerContext)

获取 ValueSerializer 引用的类型的枚举。Gets an enumeration of the types referenced by the ValueSerializer.

(继承自 ValueSerializer)

适用于