Connectivity Software User's Guide and Reference
CanConvertTo(ITypeDescriptorContext,Type) Method



OpcLabs.BaseLibPrimitives Assembly > OpcLabs.BaseLib.ComponentModel.Internal Namespace > CompositeConverter Class > CanConvertTo Method : CanConvertTo(ITypeDescriptorContext,Type) Method

The value of this parameter can be null (Nothing in Visual Basic).

Syntax
'Declaration
 
Public Overloads Overrides Function CanConvertTo( _
   ByVal context As ITypeDescriptorContext, _
   ByVal destinationType As Type _
) As Boolean
'Usage
 
Dim instance As CompositeConverter
Dim context As ITypeDescriptorContext
Dim destinationType As Type
Dim value As Boolean
 
value = instance.CanConvertTo(context, destinationType)
public override bool CanConvertTo( 
   ITypeDescriptorContext context,
   Type destinationType
)
public:
bool CanConvertTo( 
   ITypeDescriptorContext^ context,
   Type^ destinationType
) override 

Parameters

context

The value of this parameter can be null (Nothing in Visual Basic).

destinationType
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also

Reference

CompositeConverter Class
CompositeConverter Members
Overload List
Base Implementation in CanConvertTo(ITypeDescriptorContext,Type)