共用方式為


NativeActivityUpdateContext.IsNewlyAdded(Activity) 方法

定義

初始化 NativeActivityUpdateContext 是否新加入的。

public:
 bool IsNewlyAdded(System::Activities::Activity ^ childActivity);
public bool IsNewlyAdded (System.Activities.Activity childActivity);
member this.IsNewlyAdded : System.Activities.Activity -> bool
Public Function IsNewlyAdded (childActivity As Activity) As Boolean

參數

childActivity
Activity

子活動。

傳回

如果 NativeActivityUpdateContext 是新加入的,則為 true,否則為 false

適用於