ActivityWithResultValueSerializer.ConvertToString(Object, IValueSerializerContext) 方法
定义
将指定的对象序列化为字符串。Serializes the specified object into a string.
public:
override System::String ^ ConvertToString(System::Object ^ value, System::Windows::Markup::IValueSerializerContext ^ context);
public override string ConvertToString (object value, System.Windows.Markup.IValueSerializerContext context);
override this.ConvertToString : obj * System.Windows.Markup.IValueSerializerContext -> string
Public Overrides Function ConvertToString (value As Object, context As IValueSerializerContext) As String
参数
- value
- Object
已转换为用于串行传输的字符串。The object that is converted to a string for serial transmission.
- context
- IValueSerializerContext
定义正在转换为字符串的对象的序列化上下文。Defines a context for the serialization of the object being that is converted into a string.
返回
可序列化表达式的字符串版本。A string version of the serializable expression.