public class KnowledgeGraphEntityValue : KnowledgeGraphNamedObjectValue, System.IDisposable
Public Class KnowledgeGraphEntityValue Inherits KnowledgeGraphNamedObjectValue Implements System.IDisposable
public class KnowledgeGraphEntityValue : KnowledgeGraphNamedObjectValue, System.IDisposable
Public Class KnowledgeGraphEntityValue Inherits KnowledgeGraphNamedObjectValue Implements System.IDisposable
//Use GetDocumentEntityTypeName(KnowledgeGraphDataModel kg_dm) from //the 'Get Whether KG Has a Document Type' snippet to //get the documentNameType parameter protected bool GetEntityIsDocument(KnowledgeGraphEntityValue entity, string documentNameType = "") { if (string.IsNullOrEmpty(documentNameType)) return false; return entity.GetTypeName() == documentNameType; }
//Use GetDocumentEntityTypeName(KnowledgeGraphDataModel kg_dm) from //the 'Get Whether KG Has a Document Type' snippet to //get the documentNameType parameter protected bool HasGeometry(KnowledgeGraphNamedObjectType kg_named_obj) { var props = kg_named_obj.GetProperties(); return props.Any(prop => prop.FieldType == FieldType.Geometry); }
System.Object
ArcGIS.Core.CoreObjectsBase
ArcGIS.Core.Data.Knowledge.KnowledgeGraphValue
ArcGIS.Core.Data.Knowledge.KnowledgeGraphObjectValue
ArcGIS.Core.Data.Knowledge.KnowledgeGraphNamedObjectValue
ArcGIS.Core.Data.Knowledge.KnowledgeGraphEntityValue
Target Platforms: Windows 11, Windows 10