語言

ZoomLevelConverter.ConvertBack(Object, Type, Object, CultureInfo) 方法

定義

將值從其 String 表示轉換成其 Double 值。

public:
 virtual System::Object ^ ConvertBack(System::Object ^ value, Type ^ targetType, System::Object ^ parameter, System::Globalization::CultureInfo ^ culture);
public object ConvertBack (object value, Type targetType, object parameter, System.Globalization.CultureInfo culture);
abstract member ConvertBack : obj * Type * obj * System.Globalization.CultureInfo -> obj
override this.ConvertBack : obj * Type * obj * System.Globalization.CultureInfo -> obj
Public Function ConvertBack (value As Object, targetType As Type, parameter As Object, culture As CultureInfo) As Object

參數

value
Object

縮放層級為 String 。

targetType
Type

繫結目標屬性的型別。

parameter
Object

要使用的轉換子參數。

culture
CultureInfo

要在轉換子中使用的文化特性。

傳回

Double縮放層級的值。 如果轉換失敗,則傳 UnsetValue 回 。

實作

備註

縮放層級會以數位 %表示。 這個轉換子會接受字串表示,並將它轉換成其雙精度浮點數。

適用於