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 value that is encapsulated by this result to the specified type by using the specified culture information.
Namespace: System.Web.Http.ValueProviders
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Public Overridable Function ConvertTo ( _
type As Type, _
culture As CultureInfo _
) As Object
'Usage
Dim instance As ValueProviderResult
Dim type As Type
Dim culture As CultureInfo
Dim returnValue As Object
returnValue = instance.ConvertTo(type, _
culture)
public virtual Object ConvertTo(
Type type,
CultureInfo culture
)
public:
virtual Object^ ConvertTo(
Type^ type,
CultureInfo^ culture
)
abstract ConvertTo :
type:Type *
culture:CultureInfo -> Object
override ConvertTo :
type:Type *
culture:CultureInfo -> Object
public function ConvertTo(
type : Type,
culture : CultureInfo
) : Object
Parameters
- type
Type: System.Type
The target type.
- culture
Type: System.Globalization.CultureInfo
The culture to use in the conversion.
Return Value
Type: System.Object
The converted value.