Cocktail Help Reference
Convert Method
See Also  Send Feedback
Cocktail Assembly > Cocktail Namespace > BinaryToImageSourceConverter Class : Convert Method



value
targetType
parameter
culture

Glossary Item Box

Converts a byte array of image data to an image source.

Syntax

Visual Basic (Declaration) 
Public Function Convert( _
   ByVal value As Object, _
   ByVal targetType As Type, _
   ByVal parameter As Object, _
   ByVal culture As CultureInfo _
) As Object
Visual Basic (Usage)Copy Code
Dim instance As BinaryToImageSourceConverter
Dim value As Object
Dim targetType As Type
Dim parameter As Object
Dim culture As CultureInfo
Dim value As Object
 
value = instance.Convert(value, targetType, parameter, culture)
C# 
public object Convert( 
   object value,
   Type targetType,
   object parameter,
   CultureInfo culture
)
C++/CLI 
public:
Object^ Convert( 
   Object^ value,
   Type^ targetType,
   Object^ parameter,
   CultureInfo^ culture
) 

Parameters

value
targetType
parameter
culture

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

© 2013 All Rights Reserved.