Intersoft ClientUI Documentation
Convert Method
See Also  Send Feedback
Intersoft.Client.Framework Namespace > LocalizationConverter Class : Convert Method






values
The values to format.
targetType
The target output type.
parameter
Optional parameter.
culture
The culture to use in the format operation.
Converts the values to a localized string.

Syntax

Visual Basic (Declaration) 
Public Function Convert( _
   ByVal values() As Object, _
   ByVal targetType As Type, _
   ByVal parameter As Object, _
   ByVal culture As CultureInfo _
) As Object
Visual Basic (Usage)Copy Code
Dim instance As LocalizationConverter
Dim values() As Object
Dim targetType As Type
Dim parameter As Object
Dim culture As CultureInfo
Dim value As Object
 
value = instance.Convert(values, targetType, parameter, culture)
C# 
public object Convert( 
   object[] values,
   Type targetType,
   object parameter,
   CultureInfo culture
)
Delphi 
public function Convert( 
    values: TObjectarray of;
    targetType: Type;
    parameter: TObject;
    culture: CultureInfo
): TObject; 
JScript 
public function Convert( 
   values : Object[],
   targetType : Type,
   parameter : Object,
   culture : CultureInfo
) : Object;
Managed Extensions for C++ 
public: Object* Convert( 
   Object*[]* values,
   Type* targetType,
   Object* parameter,
   CultureInfo* culture
) 
C++/CLI 
public:
Object^ Convert( 
   array<Object^>^ values,
   Type^ targetType,
   Object^ parameter,
   CultureInfo^ culture
) 

Parameters

values
The values to format.
targetType
The target output type.
parameter
Optional parameter.
culture
The culture to use in the format operation.

Return Value

The formatted and localized string.

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.