Class CmsValue
A single value of an object
Assembly: Noxum.Nova.Cms.Client.dll
Syntax
Properties
Attribute
Declaration
[JsonPropertyName("attribute")]
public int Attribute { get; set; }
Property Value
Language
The language ID or 0 if the value is not language specific
Declaration
[JsonPropertyName("language")]
public int Language { get; set; }
Property Value
SortReverse
The reverse sort key, if any
Declaration
[JsonPropertyName("sortReverse")]
public int? SortReverse { get; set; }
Property Value
Transaction
The transaction id of the value.
Declaration
[JsonPropertyName("transaction")]
public long? Transaction { get; set; }
Property Value
UnitRef
The unit ID or null if the value is not unit specific
Declaration
[JsonPropertyName("unitRef")]
public int? UnitRef { get; set; }
Property Value
Value
The scalar value, either a boolean, a number or a string
Declaration
[JsonPropertyName("value")]
public object Value { get; set; }
Property Value
Variant
The variant ID or 0 if the value is not variant specific
Declaration
[JsonPropertyName("variant")]
public int Variant { get; set; }
Property Value
Methods
GetValue<T>()
Declaration
Returns
Type Parameters
Exceptions
SetValue<T>(T)
Set the value (string, byte[], int, long, Guid, DateTime, double, decimal)
Declaration
public void SetValue<T>(T value)
Parameters
| Type |
Name |
Description |
| T |
value |
|
Type Parameters
Exceptions