ObjectIdentifierConverterCanConvertFrom(ITypeDescriptorContext, Type) Method |
Returns whether this converter can convert an object of the given type to the type of this converter.
Namespace: Lextm.SharpSnmpLibAssembly: SharpSnmpLib (in SharpSnmpLib.dll) Version: 12.5.7-2+Branch.master.Sha.2a75ece2c9d55c4f731f356d1512c8a5d19fa096.2a75ece2c9d55c4f731f356d1512c8a5d19fa096
Syntaxpublic override bool CanConvertFrom(
ITypeDescriptorContext? context,
Type sourceType
)
Public Overrides Function CanConvertFrom (
context As ITypeDescriptorContext,
sourceType As Type
) As Boolean
Dim instance As ObjectIdentifierConverter
Dim context As ITypeDescriptorContext
Dim sourceType As Type
Dim returnValue As Boolean
returnValue = instance.CanConvertFrom(context,
sourceType)
public:
virtual bool CanConvertFrom(
ITypeDescriptorContext^ context,
Type^ sourceType
) override
abstract CanConvertFrom :
context : ITypeDescriptorContext *
sourceType : Type -> bool
override CanConvertFrom :
context : ITypeDescriptorContext *
sourceType : Type -> bool
Parameters
- context ITypeDescriptorContext
- sourceType Type
Return Value
Boolean
See Also