MachineKeyValidationConverter.ConvertTo Method (ITypeDescriptorContext, CultureInfo, Object, Type)
.NET Framework (current version)
Converts a MachineKeyValidation value to the string representation of that value.
Assembly: System.Web (in System.Web.dll)
override ConvertTo : ctx:ITypeDescriptorContext * ci:CultureInfo * value:Object * type:Type -> Object
Parameters
- ctx
-
Type:
System.ComponentModel.ITypeDescriptorContext
This parameter is not used.
- ci
-
Type:
System.Globalization.CultureInfo
This parameter is not used.
- value
-
Type:
System.Object
The MachineKeyValidation to be converted.
- type
-
Type:
System.Type
This parameter is not used.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | The value parameter is not one of the expected enumerated values. |
| ArgumentException | The value parameter is not a MachineKeyValidation object. |
.NET Framework
Available since 2.0
Available since 2.0
Show: