CanConvertFrom Method
Returns a value that indicates whether a CssCollection object can be converted from a specified data type.
Syntax
Visual Basic Overrides Public Function
CanConvertFrom(
ByVal oContext As ITypeDescriptorContext,
ByVal oType As Type
) As boolC# public override bool
CanConvertFrom(
ITypeDescriptorContext oContext,
Type oType
);Managed C++ public: bool
CanConvertFrom(
ITypeDescriptorContext oContext,
Type oType
);JScript public override function
CanConvertFrom(
oContext : ITypeDescriptorContext,
oType : Type
);
Parameters
oContext Required. ITypeDescriptorContext. The context. oType Required. Type. The source 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