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