ArcGIS Pro 3.8 API Reference Guide
ArcGIS.Core.Data.Knowledge Namespace / KnowledgeGraphObjectValue Class / Item Property
The key whose corresponding value will be returned or set.

In This Topic
    Item Property (KnowledgeGraphObjectValue)
    In This Topic
    Gets and sets the value corresponding to the given key. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public virtual object this[ 
       string key
    ]; {get; set;}
    Public Overridable Default Property Item( _
       ByVal key As String _
    ) As Object

    Parameters

    key
    The key whose corresponding value will be returned or set.

    Property Value

    The value corresponding to the given key
    Exceptions
    ExceptionDescription
    This method or property must be called within the lambda passed to QueuedTask.Run.
    Invalid value type
    key cannot be null or empty string
    Remarks
    The value can be a primitive value (number, string, date, etc), a geometry, or another KnowledgeGraphValue. Note: To store a list or array, convert it to a KnowledgeGraphArrayValue first. Null values are valid. A null value will be automatically converted to a System.DBNull
    Requirements

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

    ArcGIS Pro version: 3.2 or higher.
    See Also