Literal<T>.CanConvertToString(IValueSerializerContext) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.