Partager via


SplitterLengthConverter.CanConvertTo Method (ITypeDescriptorContext, Type)

This member overrides TypeConverter.CanConvertTo(ITypeDescriptorContext, Type).

Namespace:  Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

'Déclaration
Public Overrides Function CanConvertTo ( _
    context As ITypeDescriptorContext, _
    destinationType As Type _
) As Boolean
'Utilisation
Dim instance As SplitterLengthConverter
Dim context As ITypeDescriptorContext
Dim destinationType As Type
Dim returnValue As Boolean

returnValue = instance.CanConvertTo(context, _
    destinationType)
public override bool CanConvertTo(
    ITypeDescriptorContext context,
    Type destinationType
)
public:
virtual bool CanConvertTo(
    ITypeDescriptorContext^ context, 
    Type^ destinationType
) override
abstract CanConvertTo : 
        context:ITypeDescriptorContext * 
        destinationType:Type -> bool 
override CanConvertTo : 
        context:ITypeDescriptorContext * 
        destinationType:Type -> bool 
public override function CanConvertTo(
    context : ITypeDescriptorContext, 
    destinationType : Type
) : boolean

Parameters

Return Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

SplitterLengthConverter Class

SplitterLengthConverter Members

CanConvertTo Overload

Microsoft.VisualStudio.PlatformUI Namespace