Class CIMPrimitiveOverride

Namespace
ESRI.ArcGIS.CIM
Assembly
ESRI.Server.CIM.dll

Represents a primitive override.

public class CIMPrimitiveOverride : CIMObject
Inheritance
CIMPrimitiveOverride
Inherited Members

Constructors

CIMPrimitiveOverride()

public CIMPrimitiveOverride()

Properties

Expression

Gets or sets the expression.

public string Expression { get; set; }

Property Value

string

Remarks

This property is used for Python or VBScript expressions. Arcade expressions will use the ValueExpressionInfo property.

PrimitiveName

Gets or sets the primitive name this override applies to.

public string PrimitiveName { get; set; }

Property Value

string

PropertyName

Gets or sets the property name in the primitive this override applies to.

public string PropertyName { get; set; }

Property Value

string

ValueExpressionInfo

Gets or sets ExpressionInfo that contains the Arcade expression that returns value as a number or a string depending on the PropertyName.

public CIMExpressionInfo ValueExpressionInfo { get; set; }

Property Value

CIMExpressionInfo

Methods

FromJson(string, JsonDeserializationSettings)

Reconstructs the CIMPrimitiveOverride with a specified state from a JSON encoding.

public static CIMPrimitiveOverride FromJson(string json, JsonDeserializationSettings settings = null)

Parameters

json string

The JSON string containing the CIMPrimitiveOverride state.

settings JsonDeserializationSettings

The JSON deserialization settings.

Returns

CIMPrimitiveOverride

ToJson(JsonSerializationSettings)

Creates a JSON encoding of the CIMPrimitiveOverride and its current state.

public override string ToJson(JsonSerializationSettings settings = null)

Parameters

settings JsonSerializationSettings

The JSON serialization settings.

Returns

string