ValueConverter<TSource, TTarget>.Convert Method (TSource, Object, CultureInfo)
Namespace: Microsoft.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Déclaration
Protected Overridable Function Convert ( _
value As TSource, _
parameter As Object, _
culture As CultureInfo _
) As TTarget
'Utilisation
Dim value As TSource
Dim parameter As Object
Dim culture As CultureInfo
Dim returnValue As TTarget
returnValue = Me.Convert(value, parameter, _
culture)
protected virtual TTarget Convert(
TSource value,
Object parameter,
CultureInfo culture
)
protected:
virtual TTarget Convert(
TSource value,
Object^ parameter,
CultureInfo^ culture
)
abstract Convert :
value:'TSource *
parameter:Object *
culture:CultureInfo -> 'TTarget
override Convert :
value:'TSource *
parameter:Object *
culture:CultureInfo -> 'TTarget
protected function Convert(
value : TSource,
parameter : Object,
culture : CultureInfo
) : TTarget
Parameters
- value
Type: TSource
- parameter
Type: System.Object
- culture
Type: System.Globalization.CultureInfo
Return Value
Type: TTarget
.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.
See Also
Reference
ValueConverter<TSource, TTarget> Class