Folder Path Type ConverterCan Convert From(IType Descriptor Context, Type) Method
Returns whether this converter can convert an object of the given type to the type of this converter, using the specified context.
Definition
Namespace: Sandcastle.Core.Design
Assembly: Sandcastle.Core (in Sandcastle.Core.dll) Version: 2026.3.29.0
if this converter can perform the conversion; otherwise, .
Assembly: Sandcastle.Core (in Sandcastle.Core.dll) Version: 2026.3.29.0
C#
public override bool CanConvertFrom(
ITypeDescriptorContext context,
Type sourceType
)VB
Public Overrides Function CanConvertFrom (
context As ITypeDescriptorContext,
sourceType As Type
) As BooleanC++
public:
virtual bool CanConvertFrom(
ITypeDescriptorContext^ context,
Type^ sourceType
) overrideF#
abstract CanConvertFrom :
context : ITypeDescriptorContext *
sourceType : Type -> bool
override CanConvertFrom :
context : ITypeDescriptorContext *
sourceType : Type -> bool Parameters
- context ITypeDescriptorContext
- An ITypeDescriptorContext that provides a format context.
- sourceType Type
- A Type that represents the type you want to convert from.
Return Value
Booleanif this converter can perform the conversion; otherwise, .