Intersoft ClientUI Documentation
Convert Method
See Also  Send Feedback
Intersoft.Client.UI.DocumentViewers Namespace > ReportViewerMultiVisibilityConverter Class : Convert Method






values
The array of values that the source bindings in the MultiBinding produces. The value UnsetValue indicates that the source binding has no value to provide for conversion.
targetType
The type of the binding target property.
parameter
The converter parameter to use.
culture
The culture to use in the converter.
Converts source values to a value for the binding target. The data binding engine calls this method when it propagates the values from source bindings to the binding target.

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 ReportViewerMultiVisibilityConverter
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 array of values that the source bindings in the MultiBinding produces. The value UnsetValue indicates that the source binding has no value to provide for conversion.
targetType
The type of the binding target property.
parameter
The converter parameter to use.
culture
The culture to use in the converter.

Return Value

A converted value. If the method returns null, the valid null value is used.

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.