Click or drag to resize

SettingXMLName Property

Setting name must be unique. Default: Standard or GUID

Namespace:  SIC.Setting
Assembly:  SIC (in SIC.dll) Version: 19.1.23.1 (19.1.23.622)
Syntax
public string Name { get; set; }

Property Value

Type: String

Implements

ISettingXMLName
Remarks
This property must has a value
Examples
This class constructor example sets property Name with a new GUID value and other properties with default values
/// <summary>
/// Initializes a new instance of class.
/// Constructor without parameter
/// </summary>
/// <remarks>
/// Sets property <see cref="SIC.Setting.SettingXML.Name"/> with a new GUID value.
/// </remarks>
public ExampleSetting()
{
    this.Name = System.Guid.NewGuid().ToString();
    this.Setting1 = "";
    this.Setting2 = "New value";
}
See Also