Click or drag to resize

ApiSessionCreateEntity Method (ObjectProxy, String, String)

Creates a new entity object in the articy project tree.

Namespace:  Articy.Api
Assembly:  ArticyApp (in ArticyApp.dll) Version: 1.0.0
Syntax
C#
public ObjectProxy CreateEntity(
	ObjectProxy aParent,
	string aDisplayName,
	string aTemplateTechName
)

Parameters

aParent
Type: Articy.ApiObjectProxy
the object that should serve as parent for the new created object
aDisplayName
Type: SystemString
the display name of the to-be-created entity
aTemplateTechName
Type: SystemString
the technical name of a template, that will be assigned to the to-be-created entity or null to create without assigning a template

Return Value

Type: ObjectProxy
the freshly created object; use this return value to further initialize the properties of the new entity
See Also