Class LocalizableString
The localizable string class.
Namespace: System.Dynamic.ExpandoObject
Assembly: Microsoft.Azure.Management.Monitor.dll
Syntax
public class LocalizableString
Constructors
LocalizableString()
Initializes a new instance of the LocalizableString class.
Declaration
public LocalizableString ();
LocalizableString(String, String)
Initializes a new instance of the LocalizableString class.
Declaration
public LocalizableString (string value, string localizedValue = null);
Parameters
String
value
the invariant value. |
String
localizedValue
the locale specific value. |
Properties
LocalizedValue
Gets or sets the locale specific value.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="localizedValue")]
public string LocalizedValue { get; set; }
Property Value
String
|
Value
Gets or sets the invariant value.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="value")]
public string Value { get; set; }
Property Value
String
|
Methods
Validate()
Validate the object.
Declaration
public virtual void Validate ();
Exceptions
ValidationException
Thrown if validation fails |