Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Converts the specified value to the specified target type.
Namespace: Microsoft.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Syntax
'Declaration
Public Function Convert ( _
value As Object, _
targetType As Type, _
parameter As Object, _
culture As CultureInfo _
) As Object
public Object Convert(
Object value,
Type targetType,
Object parameter,
CultureInfo culture
)
public:
virtual Object^ Convert(
Object^ value,
Type^ targetType,
Object^ parameter,
CultureInfo^ culture
) sealed
abstract Convert :
value:Object *
targetType:Type *
parameter:Object *
culture:CultureInfo -> Object
override Convert :
value:Object *
targetType:Type *
parameter:Object *
culture:CultureInfo -> Object
public final function Convert(
value : Object,
targetType : Type,
parameter : Object,
culture : CultureInfo
) : Object
Parameters
value
Type: ObjectThe value to convert.
targetType
Type: TypeThe target type.
parameter
Type: ObjectParameters relevant to conversion.
culture
Type: CultureInfoCulture relevant to conversion.
Return Value
Type: Object
Returns a value of the target type.
Implements
IValueConverter.Convert(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.