Class CIMCGAAttribute

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

Represents a CGA attribute, the symbol attribute as specified by the CGA code in the rule package.

public class CIMCGAAttribute : CIMObject
Inheritance
CIMCGAAttribute
Inherited Members

Constructors

CIMCGAAttribute()

public CIMCGAAttribute()

Properties

ArrayRowCount

Gets or sets the count of rows in the array. Used when CGAAttributeType is Float_Array, String_Array and Boolean_Array.

public int ArrayRowCount { get; set; }

Property Value

int

CGAAttributeType

Gets or sets the CGA attribute type.

public CGAAttributeType CGAAttributeType { get; set; }

Property Value

CGAAttributeType

Name

Gets or sets the name.

public string Name { get; set; }

Property Value

string

Value

Gets or sets the value. Used when CGAAttributeType is Float, String and Boolean.

public object Value { get; set; }

Property Value

object

Values

Gets or sets the values in the array. Used when CGAAttributeType is Float_Array, String_Array and Boolean_Array.

public object[] Values { get; set; }

Property Value

object[]

Methods

FromJson(string, JsonDeserializationSettings)

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

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

Parameters

json string

The JSON string containing the CIMCGAAttribute state.

settings JsonDeserializationSettings

The JSON deserialization settings.

Returns

CIMCGAAttribute

ToJson(JsonSerializationSettings)

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

public override string ToJson(JsonSerializationSettings settings = null)

Parameters

settings JsonSerializationSettings

The JSON serialization settings.

Returns

string