Intersoft ClientUI Documentation
GetResourceString Method
See Also  Send Feedback
Intersoft.Client.Framework Namespace > LocalizationManager Class : GetResourceString Method






obj
The dependency object of which the Resource is attached.
key
The resource key of which value to retrieve.
Gets the string of the Resource attached to the dependency object.

Syntax

Visual Basic (Declaration) 
Public Shared Function GetResourceString( _
   ByVal obj As DependencyObject, _
   ByVal key As String _
) As String
Visual Basic (Usage)Copy Code
Dim obj As DependencyObject
Dim key As String
Dim value As String
 
value = LocalizationManager.GetResourceString(obj, key)
C# 
public static string GetResourceString( 
   DependencyObject obj,
   string key
)
Delphi 
public function GetResourceString( 
    obj: DependencyObject;
    key: String
): String; static; 
JScript 
public static function GetResourceString( 
   obj : DependencyObject,
   key : String
) : String;
Managed Extensions for C++ 
public: static string* GetResourceString( 
   DependencyObject* obj,
   string* key
) 
C++/CLI 
public:
static String^ GetResourceString( 
   DependencyObject^ obj,
   String^ key
) 

Parameters

obj
The dependency object of which the Resource is attached.
key
The resource key of which value to retrieve.

Return Value

A string value.

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.