Class CIMCGAAttribute
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
CGAAttributeType
Gets or sets the CGA attribute type.
public CGAAttributeType CGAAttributeType { get; set; }
Property Value
Name
Gets or sets the name.
public string Name { get; set; }
Property Value
Value
Gets or sets the value. Used when CGAAttributeType is Float, String and Boolean.
public object Value { get; set; }
Property Value
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
jsonstringThe JSON string containing the CIMCGAAttribute state.
settingsJsonDeserializationSettingsThe JSON deserialization settings.
Returns
ToJson(JsonSerializationSettings)
Creates a JSON encoding of the CIMCGAAttribute and its current state.
public override string ToJson(JsonSerializationSettings settings = null)
Parameters
settingsJsonSerializationSettingsThe JSON serialization settings.