ZoomPercentageConverter.Convert(Object, Type, Object, CultureInfo) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
virtual System::Object ^ Convert(System::Object ^ value, Type ^ targetType, System::Object ^ parameter, System::Globalization::CultureInfo ^ culture);
public object Convert (object value, Type targetType, object parameter, System.Globalization.CultureInfo culture);
abstract member Convert : obj * Type * obj * System.Globalization.CultureInfo -> obj
override this.Convert : obj * Type * obj * System.Globalization.CultureInfo -> obj
Public Function Convert (value As Object, targetType As Type, parameter As Object, culture As CultureInfo) As Object
Parameters
- parameter
- Object
null
.
- culture
- CultureInfo
The language and culture assumed during the conversion.
Returns
UnsetValue when the converter cannot produce a value; for example, when value
is null
or when targetType
is not Double or String.
-or-
The new Object of the designated type. As implemented in this class, this must be either a Double or a String. If it is a string, it will be formatted appropriately for the culture
.
Implements
Remarks
UnsetValue may be returned to indicate that the converter produced no value and that the fallback (if available) or default value should be used instead.
Pass null
for parameter
. This parameter is required by the signature of Convert, and is used by some implementations to provide contextual information to the converter; but it is not used in this class.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om