MultiValueConverter<TSource1, TSource2, TTarget>.Convert Method (TSource1, TSource2, Object, CultureInfo)
Namespace: Microsoft.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'宣言
Protected Overridable Function Convert ( _
value1 As TSource1, _
value2 As TSource2, _
parameter As Object, _
culture As CultureInfo _
) As TTarget
'使用
Dim value1 As TSource1
Dim value2 As TSource2
Dim parameter As Object
Dim culture As CultureInfo
Dim returnValue As TTarget
returnValue = Me.Convert(value1, value2, _
parameter, culture)
protected virtual TTarget Convert(
TSource1 value1,
TSource2 value2,
Object parameter,
CultureInfo culture
)
protected:
virtual TTarget Convert(
TSource1 value1,
TSource2 value2,
Object^ parameter,
CultureInfo^ culture
)
abstract Convert :
value1:'TSource1 *
value2:'TSource2 *
parameter:Object *
culture:CultureInfo -> 'TTarget
override Convert :
value1:'TSource1 *
value2:'TSource2 *
parameter:Object *
culture:CultureInfo -> 'TTarget
protected function Convert(
value1 : TSource1,
value2 : TSource2,
parameter : Object,
culture : CultureInfo
) : TTarget
Parameters
- value1
Type: TSource1
- value2
Type: TSource2
- 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
MultiValueConverter<TSource1, TSource2, TTarget> Class