Share via


LayoutPathCapacityConverter.CanConvertFrom Method (ITypeDescriptorContext, Type)

Namespace: Microsoft.Expression.Controls
Assembly: Microsoft.Expression.Controls (in microsoft.expression.controls.dll)

Syntax

'Declaration
Public Overrides Function CanConvertFrom ( _
    context As ITypeDescriptorContext, _
    sourceType As Type _
) As Boolean
'Usage
Dim instance As LayoutPathCapacityConverter
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
public boolean CanConvertFrom (
    ITypeDescriptorContext context, 
    Type sourceType
)
public override function CanConvertFrom (
    context : ITypeDescriptorContext, 
    sourceType : Type
) : boolean

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

LayoutPathCapacityConverter Class
LayoutPathCapacityConverter Members
Microsoft.Expression.Controls Namespace