ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Core.Data.Knowledge Namespace / DocumentPropertyInfo Class
Members Example

In This Topic
    DocumentPropertyInfo Class
    In This Topic
    Class representing information about the names of the unique identifier document properties in a knowledge graph. See KnowledgeGraphPropertyInfo.SupportsDocuments, KnowledgeGraphPropertyInfo.DocumentPropertyInfo and KnowledgeGraph.GetPropertyNameInfo.
    Syntax
    Public NotInheritable Class DocumentPropertyInfo 
    public sealed class DocumentPropertyInfo 
    Example
    Get the KG Document info using KnowledgeGraphPropertyInfo
    {
      await QueuedTask.Run(() =>
      {
        //Create a connection properties
        var kg_props =
            new KnowledgeGraphConnectionProperties(new Uri(url));
        using (var kg = new KnowledgeGraph(kg_props))
        {
          // use the KnowledgeGraphPropertyInfo
          var propInfo = kg.GetPropertyNameInfo();
          var supportsDocs = propInfo.SupportsDocuments;
          var documentType = propInfo.DocumentTypeName;
          var hasDocumentType = propInfo.HasDocumentTypeName; // available at Pro 3.6 only
          var documentInfo = propInfo.DocumentPropertyInfo;
        }
      });
    }
    Inheritance Hierarchy

    System.Object
       ArcGIS.Core.Data.Knowledge.DocumentPropertyInfo

    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.5 or higher.
    See Also