ArcGIS Pro 3.5 API Reference Guide
ArcGIS.Core.Data.Knowledge Namespace / KnowledgeGraphPropertyInfo Class / DocumentPropertyInfo Property
Example

In This Topic
    DocumentPropertyInfo Property
    In This Topic
    Gets the DocumentPropertyInfo if documents are supported. If documents are not supported then this will be null. See SupportsDocuments.
    Syntax
    public DocumentPropertyInfo DocumentPropertyInfo {get;}
    Public ReadOnly Property DocumentPropertyInfo As DocumentPropertyInfo
    Example
    Get Whether KG Supports Documents using KnowledgeGraphPropertyInfo
    internal void KnowledgeGraphDocuments(KnowledgeGraph kg)
    {
      // use the KnowledgeGraphPropertyInfo
      var propInfo = kg.GetPropertyNameInfo();
      var supportsDocs = propInfo.SupportsDocuments;
      var documentType = propInfo.DocumentTypeName;
      var documentInfo = propInfo.DocumentPropertyInfo;
    }
    
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.5 or higher.
    See Also