Activity.ParentId 屬性

定義

取得此活動的父代識別碼。

public:
 property System::String ^ ParentId { System::String ^ get(); };
public string? ParentId { get; }
public string ParentId { get; }
member this.ParentId : string
Public ReadOnly Property ParentId As String

屬性值

如果父識別碼存在,則為 ,如果不存在,則 null 為 。

備註

如果這個 Activity 的父系來自進程外部,則 沒有父代, Activity可能有 父標識碼 (從父系還原串行化) 。

如果這是根 Activity (,則這個屬性值可以是 null ,它沒有 Parent) 。 如需詳細資訊,請參閱 標識碼格式

適用於