Condividi tramite


SplitterLengthConverter.CanConvertFrom Method (ITypeDescriptorContext, Type)

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

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

Syntax

'Dichiarazione
Public Overrides Function CanConvertFrom ( _
    context As ITypeDescriptorContext, _
    sourceType As Type _
) As Boolean
'Utilizzo
Dim instance As SplitterLengthConverter
Dim context As ITypeDescriptorContext
Dim sourceType As Type
Dim returnValue As Boolean

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

Parameters

Return Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

SplitterLengthConverter Class

SplitterLengthConverter Members

CanConvertFrom Overload

Microsoft.VisualStudio.PlatformUI Namespace