MachineKeyValidationConverter.ConvertTo Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Converts a MachineKeyValidation value to the string representation of that value.
public:
override System::Object ^ ConvertTo(System::ComponentModel::ITypeDescriptorContext ^ ctx, System::Globalization::CultureInfo ^ ci, System::Object ^ value, Type ^ type);
public override object ConvertTo (System.ComponentModel.ITypeDescriptorContext ctx, System.Globalization.CultureInfo ci, object value, Type type);
override this.ConvertTo : System.ComponentModel.ITypeDescriptorContext * System.Globalization.CultureInfo * obj * Type -> obj
Public Overrides Function ConvertTo (ctx As ITypeDescriptorContext, ci As CultureInfo, value As Object, type As Type) As Object
Parameters
This parameter is not used.
- ci
- CultureInfo
This parameter is not used.
- value
- Object
The MachineKeyValidation to be converted.
- type
- Type
This parameter is not used.
Returns
A string representing a MachineKeyValidation value.
Exceptions
The value
parameter is not one of the expected enumerated values.
The value
parameter is not a MachineKeyValidation object.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.