Modifica

Condividi tramite


Activity.ParentId Property

Definition

Gets the ID of this activity's parent.

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

Property Value

The parent ID, if one exists, or null if it does not.

Remarks

If the parent for this Activity comes from outside the process, the Activity does not have a parent but may have a parent ID (which was deserialized from the parent).

This property value can be null if this is a root Activity (that is, it has no Parent). For more information, see ID format.

Applies to