ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Core.Data.DDL.Knowledge Namespace / KnowledgeGraphEntityTypeDescription Class / KnowledgeGraphEntityTypeDescription Constructor / KnowledgeGraphEntityTypeDescription Constructor(String,KnowledgeGraphEntityType,ShapeDescription)
The name to use for the description object
The knowledge graph entity type to use for the description object
The description to use for the shape. The spatial reference must match the spatial reference of the knowledge graph being used with the SchemaBuilder .
Version

KnowledgeGraphEntityTypeDescription Constructor(String,KnowledgeGraphEntityType,ShapeDescription)
Construct a KnowledgeGraphEntityTypeDescription with the given name, ArcGIS.Core.Data.Knowledge.KnowledgeGraphEntityType and shape definition. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public KnowledgeGraphEntityTypeDescription( 
   string name,
   KnowledgeGraphEntityType entityType,
   ShapeDescription shapeDescription
)

Parameters

name
The name to use for the description object
entityType
The knowledge graph entity type to use for the description object
shapeDescription
The description to use for the shape. The spatial reference must match the spatial reference of the knowledge graph being used with the SchemaBuilder .
Exceptions
ExceptionDescription
name is invalid
This method or property must be called within the lambda passed to QueuedTask.Run.
Remarks
The name will be used for a new entity type if the description object is used for purposes of creation. Otherwise, it will be used to identify an existing entity type if the description object is used for the purposes of modify or delete.
The properties of the knowledge graph entity type will be used to initialize the property description collection for the description object. If the knowledge graph entity type contains a shape property then a shape description property will also be added (to the description object). The spatial reference of the shape description parameter must match the spatial reference of the knowledge graph being used with the ArcGIS.Core.Data.DDL.SchemaBuilder. See ArcGIS.Core.Data.Knowledge.KnowledgeGraph.GetSpatialReference.
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3.4 or higher.
See Also