RectValueSerializer.ConvertToString(Object, IValueSerializerContext) 方法

定义

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

public:
 override System::String ^ ConvertToString(System::Object ^ value, System::Windows::Markup::IValueSerializerContext ^ context);
public override string ConvertToString (object value, System.Windows.Markup.IValueSerializerContext context);
override this.ConvertToString : obj * System.Windows.Markup.IValueSerializerContext -> string
Public Overrides Function ConvertToString (value As Object, context As IValueSerializerContext) As String

参数

value
Object

要转换为字符串的对象。The object to convert into a string.

context
IValueSerializerContext

用于转换的上下文信息。Context information that is used for conversion.

返回

String

指定的 Rect 的字符串表示形式。A string representation of the specified Rect.

适用于