Redigera

Dela via


MachineKeyValidationConverter.ConvertTo Method

Definition

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

ctx
ITypeDescriptorContext

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