Редагувати

Поділитися через


FontFamilyValueSerializer.CanConvertFromString Method

Definition

Determines if conversion from a given String to an instance of FontFamily is possible.

public:
 override bool CanConvertFromString(System::String ^ value, System::Windows::Markup::IValueSerializerContext ^ context);
public override bool CanConvertFromString (string value, System.Windows.Markup.IValueSerializerContext context);
override this.CanConvertFromString : string * System.Windows.Markup.IValueSerializerContext -> bool
Public Overrides Function CanConvertFromString (value As String, context As IValueSerializerContext) As Boolean

Parameters

value
String

String to evaluate for conversion.

context
IValueSerializerContext

Context information used for conversion.

Returns

true if value can be converted; otherwise, false.

Remarks

This method always returns true.

Applies to