Intersoft ClientUI Documentation
GetSetting Method
See Also  Send Feedback
Intersoft.Client.Framework Namespace > ApplicationPackage Class : GetSetting Method






key
The key of which value to retrieve.
Gets the value of the setting given the key from the application storage.

Syntax

Visual Basic (Declaration) 
Public Function GetSetting( _
   ByVal key As String _
) As Object
Visual Basic (Usage)Copy Code
Dim instance As ApplicationPackage
Dim key As String
Dim value As Object
 
value = instance.GetSetting(key)
C# 
public object GetSetting( 
   string key
)
Delphi 
public function GetSetting( 
    key: String
): TObject; 
JScript 
public function GetSetting( 
   key : String
) : Object;
Managed Extensions for C++ 
public: Object* GetSetting( 
   string* key
) 
C++/CLI 
public:
Object^ GetSetting( 
   String^ key
) 

Parameters

key
The key of which value to retrieve.

Return Value

An object instance.

Remarks

To learn how to use the GetSetting method, see How-to: Save and Load an Application-specific Settings.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.