Share via


Entity.Parent Property

Definition

The entity that acts as this entity's parent.

public:
 property Microsoft::Azure::RemoteRendering::Entity ^ Parent { Microsoft::Azure::RemoteRendering::Entity ^ get(); void set(Microsoft::Azure::RemoteRendering::Entity ^ value); };
public Microsoft.Azure.RemoteRendering.Entity Parent { get; set; }
member this.Parent : Microsoft.Azure.RemoteRendering.Entity with get, set
Public Property Parent As Entity

Property Value

Remarks

Top level entities don't have a parent, in which case this returns null. Setting a new parent automatically adds this entity to the list of children of the provided parent.

* A CyclicReference error occurs, if the new parent is a descendant of this object. * A InvalidId error occurs, if an invalid entity is set as the parent.

Applies to