語言

Activity.ParentId 屬性

定義

取得該活動家長的ID。

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

屬性值

父 ID(如果存在) null 或沒有(不存在)。

備註

如果這 Activity 類的父程式來自外部,則 Activity 沒有父程序,但 可能 有一個父 ID(已從父程序去序列化)。

若此屬性值Activity為根(即沒有 Parent),則可為 。null 欲了解更多資訊,請參閱 身分證格式。

適用於