ImageSourceValueConverter.Convert Method
Converts the specified value to the specified target type.
Namespace: Microsoft.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'宣言
Public Function Convert ( _
value As Object, _
targetType As Type, _
parameter As Object, _
culture As CultureInfo _
) As Object
public Object Convert(
Object value,
Type targetType,
Object parameter,
CultureInfo culture
)
Parameters
- value
Type: System.Object
The value to convert.
- targetType
Type: System.Type
The target type.
- parameter
Type: System.Object
Parameters relevant to conversion.
- culture
Type: System.Globalization.CultureInfo
Culture relevant to conversion.
Return Value
Type: System.Object
Returns a value of the target type.
Implements
IValueConverter.Convert(Object, Type, Object, CultureInfo)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.