Intersoft ClientUI Documentation
GetPropertyString(DependencyObject,String,CultureInfo,Object[]) Method
See Also  Send Feedback
Intersoft.Client.Framework Namespace > LocalizationManager Class > GetPropertyString Method : GetPropertyString(DependencyObject,String,CultureInfo,Object[]) Method






obj
The dependency object of which the Resource is attached.
propertyName
The property name of which value to retrieve.
culture
Culture used in localization.
converterValues
One or more values to be formatted when the text is being localized.
Gets the property value of the Resource attached to the dependency object.

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Function GetPropertyString( _
   ByVal obj As DependencyObject, _
   ByVal propertyName As String, _
   ByVal culture As CultureInfo, _
   ByVal ParamArray converterValues() As Object _
) As String
Visual Basic (Usage)Copy Code
Dim obj As DependencyObject
Dim propertyName As String
Dim culture As CultureInfo
Dim converterValues() As Object
Dim value As String
 
value = LocalizationManager.GetPropertyString(obj, propertyName, culture, converterValues)
C# 
public static string GetPropertyString( 
   DependencyObject obj,
   string propertyName,
   CultureInfo culture,
   params object[] converterValues
)
Delphi 
public function GetPropertyString( 
    obj: DependencyObject;
    propertyName: String;
    culture: CultureInfo;
   params  converterValues: TObjectarray of
): String; static; 
JScript 
public static function GetPropertyString( 
   obj : DependencyObject,
   propertyName : String,
   culture : CultureInfo,
   converterValues : Object[]
) : String;
Managed Extensions for C++ 
public: static string* GetPropertyString( 
   DependencyObject* obj,
   string* propertyName,
   CultureInfo* culture,
   params Object*[]* converterValues
) 
C++/CLI 
public:
static String^ GetPropertyString( 
   DependencyObject^ obj,
   String^ propertyName,
   CultureInfo^ culture,
   ... array<Object^>^ converterValues
) 

Parameters

obj
The dependency object of which the Resource is attached.
propertyName
The property name of which value to retrieve.
culture
Culture used in localization.
converterValues
One or more values to be formatted when the text is being localized.

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.