अंग्रेज़ी में पढ़ें संपादित करें

इसके माध्यम से साझा किया गया


ExpressionsCollectionConverter.ConvertTo Method

Definition

Converts an expression binding collection to the specified type.

public override object ConvertTo (System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, Type destinationType);

Parameters

context
ITypeDescriptorContext

An ITypeDescriptorContext object that indicates the component or control the expression binding collection belongs to.

culture
CultureInfo

A CultureInfo object that can be used to provide additional culture information.

value
Object

The object to convert.

destinationType
Type

The type to convert to.

Returns

If destinationType is not of type String, the object produced by the type conversion; otherwise, if destinationType is a string, an empty string ("").

Remarks

नोट

You should never access a type converter directly. This implementation of TypeConverter is intended only for use by an ExpressionBindingCollection object at design time.

Applies to

उत्पाद संस्करण
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also