<Code Lib>
2022 Method
Changes 4
M

Element.GetEntity

Description:
Returns the existing entity corresponding to the Schema if it has been saved in the Element, or an invalid entity otherwise.
Remarks:
The Entity that is returned is a copy of the stored data (with copy-on-write optimization). Modifying it is allowed (even with restricted write), but to save your changes you must call SetEntity.

public Entity GetEntity(
	Schema schema
)

Return Value The returned Entity. The returned Entity.

Loading…