KeyValueSerializer.CanConvertToString(Object, IValueSerializerContext) KeyValueSerializer.CanConvertToString(Object, IValueSerializerContext) KeyValueSerializer.CanConvertToString(Object, IValueSerializerContext) KeyValueSerializer.CanConvertToString(Object, IValueSerializerContext) Method

Definition

Determines if the specified Key can be converted to a String.

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

Parameters

value
Object Object Object Object

The key to evaluate for conversion.

context
IValueSerializerContext IValueSerializerContext IValueSerializerContext IValueSerializerContext

Context information that is used for conversion.

Returns

true if value can be converted into a String; otherwise, false.

Applies to