November Happy Hour will be moved to Thursday December 5th.

Class Setting

Inheritance
System.Object
Setting
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Shell.ViewComposition
Assembly: EPiServer.Shell.dll
Version: 11.20.7
Syntax
public class Setting

Constructors

Setting(String, Boolean)

Declaration
public Setting(string key, bool personalizable)
Parameters
Type Name Description
System.String key
System.Boolean personalizable

Setting(String, Object)

Declaration
public Setting(string key, object value)
Parameters
Type Name Description
System.String key
System.Object value

Setting(String, Object, Boolean)

Declaration
public Setting(string key, object value, bool personalizable)
Parameters
Type Name Description
System.String key
System.Object value
System.Boolean personalizable

Properties

Key

Declaration
public string Key { get; }
Property Value
Type Description
System.String

Personalizable

Declaration
public bool Personalizable { get; }
Property Value
Type Description
System.Boolean

Value

Declaration
public object Value { get; set; }
Property Value
Type Description
System.Object

Methods

Copy()

Declaration
public Setting Copy()
Returns
Type Description
Setting

Equals(Object)

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
System.Object obj
Returns
Type Description
System.Boolean
Overrides
System.Object.Equals(System.Object)

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32
Overrides
System.Object.GetHashCode()

Operators

Equality(Setting, Setting)

Declaration
public static bool operator ==(Setting left, Setting right)
Parameters
Type Name Description
Setting left
Setting right
Returns
Type Description
System.Boolean

Inequality(Setting, Setting)

Declaration
public static bool operator !=(Setting left, Setting right)
Parameters
Type Name Description
Setting left
Setting right
Returns
Type Description
System.Boolean

Extension Methods