BaseEnumStringConverter<T>.ConvertFrom Method (ITypeDescriptorContext, CultureInfo, Object)
Converts the specified object to the type of this converter by using the specified context and culture information.
Namespace: Microsoft.VisualStudio.TestTools.WebTesting
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Syntax
'Declaration
Public Overrides Function ConvertFrom ( _
context As ITypeDescriptorContext, _
culture As CultureInfo, _
value As Object _
) As Object
public override Object ConvertFrom(
ITypeDescriptorContext context,
CultureInfo culture,
Object value
)
public:
virtual Object^ ConvertFrom(
ITypeDescriptorContext^ context,
CultureInfo^ culture,
Object^ value
) override
abstract ConvertFrom :
context:ITypeDescriptorContext *
culture:CultureInfo *
value:Object -> Object
override ConvertFrom :
context:ITypeDescriptorContext *
culture:CultureInfo *
value:Object -> Object
public override function ConvertFrom(
context : ITypeDescriptorContext,
culture : CultureInfo,
value : Object
) : Object
Parameters
- context
Type: System.ComponentModel.ITypeDescriptorContext
An ITypeDescriptorContext that provides a format context.
- culture
Type: System.Globalization.CultureInfo
The T:System.Globalization.CultureInfo to use as the current culture.
- value
Type: System.Object
The Object to convert.
Return Value
Type: System.Object
An Object that represents the converted value.
.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.