WorkflowIdentity.TryParse(String, WorkflowIdentity) 方法

定义

分析字符串并创建 WorkflowIdentity 的新实例。

public:
 static bool TryParse(System::String ^ identity, [Runtime::InteropServices::Out] System::Activities::WorkflowIdentity ^ % result);
public static bool TryParse (string identity, out System.Activities.WorkflowIdentity result);
static member TryParse : string * WorkflowIdentity -> bool
Public Shared Function TryParse (identity As String, ByRef result As WorkflowIdentity) As Boolean

参数

identity
String

新的标识。

result
WorkflowIdentity

从字符串生成的结果。

返回

如果已为此工作流标识实例创建了一个值,则为 true;否则为 false

适用于