CanConvertTo Method

Returns a value that indicates whether a CssCollection object can be converted to a specified data type.

Syntax

Visual Basic Overrides  Public  Function 
CanConvertTo(
        ByVal oContext As ITypeDescriptorContext,
        ByVal oType As Type
) As bool
C# public   override  bool 
CanConvertTo(
        ITypeDescriptorContext oContext,
        Type oType
);
Managed C++ public:  bool 
CanConvertTo(
        ITypeDescriptorContext oContext,
        Type oType
);
JScript public   override function
CanConvertTo(
        oContext : ITypeDescriptorContext,
        oType : Type
);

Parameters

oContext Required. ITypeDescriptorContext. The context.
oType Required. Type. The destination data type.

Return Value

Returns one of the following possible values.

false Default. The type converter cannot convert the collection.
true The type converter can convert the collection.

Applies To

CssCollectionConverter

See Also

Internet Explorer WebControls