ArcGIS Pro 3.6 API Reference Guide
ArcGIS.Core.Data.Knowledge Namespace / KnowledgeGraphPropertyInfo Class / HasDocumentTypeName Property
Example

In This Topic
    HasDocumentTypeName Property
    In This Topic
    Gets the knowledge graph "has document" type name.
    Syntax
    public string HasDocumentTypeName {get;}
    Public ReadOnly Property HasDocumentTypeName As String
    Example
    Get the KG Document info using KnowledgeGraphPropertyInfo
    internal void KnowledgeGraphDocuments(KnowledgeGraph kg)
    {
      // 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;
    }
    
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.6 or higher.
    See Also