Rediger

Del via


ActivityWithResultValueSerializer.CanConvertToString Method

Definition

Returns an indication whether an input object is an IValueSerializableExpression that can be serialized into 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

The IValueSerializableExpression object that is verified for its ability to be converted to a string for serial transmission.

context
IValueSerializerContext

Defines a context for the serialization of IValueSerializableExpression.

Returns

true if the expression can be serialized; otherwise, false.

Applies to