Редагувати

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


DateTimeValueSerializer.CanConvertFromString Method

Definition

Determines if the specified String can be convert to an instance of DateTime.

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

The string to evaluate for conversion.

context
IValueSerializerContext

Context information that is used for conversion.

Returns

true if the value can be converted; otherwise, false.

Remarks

This implementation always returns true.

Applies to