Difference between revisions of "UserPreference"
Nguyenduyan (talk | contribs) (Created page with "{{CGscriptClass_Template |Name=UserPreference |Description=A user preference |Constructors= {{CGscriptConstructors_Template|Parameters= {{CGscriptParameters_Template|Type=stri...") |
Nguyenduyan (talk | contribs) |
||
Line 17: | Line 17: | ||
{{CGscriptProperties_Template|ReturnType=string|Name=Value|HasGetter=1|HasSetter=1|Description=Get/Set the current value}} | {{CGscriptProperties_Template|ReturnType=string|Name=Value|HasGetter=1|HasSetter=1|Description=Get/Set the current value}} | ||
}} | }} | ||
+ | |||
+ | |||
+ | |||
+ | === <span style="color:#DF8621">'''Examples'''</span> === | ||
+ | |||
+ | <source lang="javascript"> | ||
+ | |||
+ | </source> | ||
+ | |||
+ | <br/><source lang="javascript"> | ||
+ | |||
+ | </source> | ||
+ | |||
+ | <br/><source lang="javascript"> | ||
+ | |||
+ | </source> |
Revision as of 05:06, 22 November 2016
UserPreference
A user preference
Constructors
- (string navName "Navigation access value was stored with", int prefType "Unique key for the setting") - Get existing a new personalized stored value.
- (string navName "Navigation access to associate the value with", int prefType "Unique key for the setting", string value "Value to store") - Create a new or update existing personalized stored value.
Methods
Properties
- string ObjectTypeName { get; } - The name of the type of object.
- TypeInformation TypeInformation { get; } - Get information about this class.
- string Value { get; set; } - Get/Set the current value