| Visual Basic (Declaration) | |
|---|---|
Overloads Overrides Public Function CanConvertFrom( _ ByVal context As ITypeDescriptorContext, _ ByVal sourceType As Type _ ) As Boolean | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public override bool CanConvertFrom( ITypeDescriptorContext context, Type sourceType ) | |
| Managed Extensions for C++ | |
|---|---|
public: bool CanConvertFrom( ITypeDescriptorContext context, Type* sourceType ) override | |
| C++/CLI | |
|---|---|
public: bool CanConvertFrom( ITypeDescriptorContext context, Type^ sourceType ) override | |
Parameters
- context
- Type context used for conversion
- sourceType
- The source type to be converted
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family
Copy Code