編輯

共用方式為


GeometryValueSerializer.ConvertFromString Method

Definition

Converts a String into a Geometry.

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

Parameters

value
String

String value to convert into a Geometry.

context
IValueSerializerContext

Context information used for conversion.

Returns

A new instance of Geometry based on the supplied value.

Applies to