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

從字串建立而成的結果。

傳回

如果已建立 WorkflowIdentity 執行個體,則為 true,否則為 false

適用於