WorkflowMarkupSerializer.DeserializeFromString 方法

定义

根据要反序列化的给定类型的属性,反序列化指定字符串中的可扩展应用程序标记语言 (XAML) 内容。

protected public:
 virtual System::Object ^ DeserializeFromString(System::Workflow::ComponentModel::Serialization::WorkflowMarkupSerializationManager ^ serializationManager, Type ^ propertyType, System::String ^ value);
protected internal virtual object DeserializeFromString (System.Workflow.ComponentModel.Serialization.WorkflowMarkupSerializationManager serializationManager, Type propertyType, string value);
abstract member DeserializeFromString : System.Workflow.ComponentModel.Serialization.WorkflowMarkupSerializationManager * Type * string -> obj
override this.DeserializeFromString : System.Workflow.ComponentModel.Serialization.WorkflowMarkupSerializationManager * Type * string -> obj
Protected Friend Overridable Function DeserializeFromString (serializationManager As WorkflowMarkupSerializationManager, propertyType As Type, value As String) As Object

参数

serializationManager
WorkflowMarkupSerializationManager

管理反序列化过程的 WorkflowMarkupSerializationManager

propertyType
Type

与要反序列化的属性关联的 Type

value
String

包含要反序列化的 XAML 的字符串。

返回

反序列化的 Object

例外

serializationManagerpropertyTypevalue 包含空引用(在 Visual Basic 中为 Nothing)。

注解

value 必须满足以下条件之一:

适用于