Share via


GeometryEffectConverter.CanConvertFrom Method (ITypeDescriptorContext, Type)

A GeometryEffect that can be converted from a string type.

Namespace: Microsoft.Expression.Media
Assembly: Microsoft.Expression.Drawing (in microsoft.expression.drawing.dll)

Syntax

'Declaration
Public Overrides Function CanConvertFrom ( _
    context As ITypeDescriptorContext, _
    sourceType As Type _
) As Boolean
'Usage
Dim instance As GeometryEffectConverter
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

GeometryEffectConverter Class
GeometryEffectConverter Members
Microsoft.Expression.Media Namespace