Entity.Valid Property

Definition

Whether this entity is still valid.

public:
 property bool Valid { bool get(); };
public bool Valid { get; }
member this.Valid : bool
Public ReadOnly Property Valid As Boolean

Property Value

Remarks

An entity is invalid if it has been destroyed or if the connection has been lost. It is an error to call any other function on an invalid object.

Applies to