WorkflowIdentity.TryParse(String, WorkflowIdentity) 方法
定义
分析字符串并创建 WorkflowIdentity 的新实例。Parses the string and creates a new instance of a 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
新的标识。A new identity.
- result
- WorkflowIdentity
从字符串生成的结果。The result created from the string.
返回
如果已为此工作流标识实例创建了一个值,则为 true;否则为 false。true if a WorkflowIdentity instance has been created; otherwise, false.