Redigera

Dela via


Literal<T>.CanConvertToString(IValueSerializerContext) Method

Definition

Gets a value that indicates whether the Literal<T> can be converted into a String.

public:
 virtual bool CanConvertToString(System::Windows::Markup::IValueSerializerContext ^ context);
public bool CanConvertToString (System.Windows.Markup.IValueSerializerContext context);
abstract member CanConvertToString : System.Windows.Markup.IValueSerializerContext -> bool
override this.CanConvertToString : System.Windows.Markup.IValueSerializerContext -> bool
Public Function CanConvertToString (context As IValueSerializerContext) As Boolean

Parameters

context
IValueSerializerContext

The context information that is used for conversion.

Returns

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

Implements

Applies to