ZoomLevelConverter.ConvertBack Method
Converts the value from string to double.
Namespace: Microsoft.VisualStudio.Text.Editor
Assembly: Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)
Syntax
'Declaración
Public Function ConvertBack ( _
value As Object, _
targetType As Type, _
parameter As Object, _
culture As CultureInfo _
) As Object
public Object ConvertBack(
Object value,
Type targetType,
Object parameter,
CultureInfo culture
)
public:
virtual Object^ ConvertBack(
Object^ value,
Type^ targetType,
Object^ parameter,
CultureInfo^ culture
) sealed
abstract ConvertBack :
value:Object *
targetType:Type *
parameter:Object *
culture:CultureInfo -> Object
override ConvertBack :
value:Object *
targetType:Type *
parameter:Object *
culture:CultureInfo -> Object
public final function ConvertBack(
value : Object,
targetType : Type,
parameter : Object,
culture : CultureInfo
) : Object
Parameters
- value
Type: System.Object
The zoom level as String.
- targetType
Type: System.Type
The type of the binding target property.
- parameter
Type: System.Object
The converter parameter to use.
- culture
Type: System.Globalization.CultureInfo
The culture to use in the converter.
Return Value
Type: System.Object
The Double value of the zoom level. Returns UnsetValue if the conversion fails.
Implements
IValueConverter.ConvertBack(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.