Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

MachineKeyValidationConverter::ConvertTo Method (ITypeDescriptorContext, CultureInfo, Object, Type)

Converts a MachineKeyValidation value to the string representation of that value.

Namespace:  System.Web.Configuration
Assembly:  System.Web (in System.Web.dll)

public:
virtual Object^ ConvertTo(
	ITypeDescriptorContext^ ctx, 
	CultureInfo^ ci, 
	Object^ value, 
	Type^ type
) override

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.

Return Value

Type: System::Object
A string representing a MachineKeyValidation value.

ExceptionCondition
ArgumentOutOfRangeException

The value parameter is not one of the expected enumerated values.

ArgumentException

The value parameter is not a MachineKeyValidation object.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft