TicksConverterCanConvertFrom(ITypeDescriptorContext, Type) Method
Determines if this converter can convert an object in the given source type to the native type of the converter.
Namespace: GemstoneAssembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.128 -- Release Build+d050cfc5563c89a1188cc3c6b2d417530856f490
public override bool CanConvertFrom(
ITypeDescriptorContext? context,
Type sourceType
)
Public Overrides Function CanConvertFrom (
context As ITypeDescriptorContext,
sourceType As Type
) As Boolean
public:
virtual bool CanConvertFrom(
ITypeDescriptorContext^ context,
Type^ sourceType
) override
function CanConvertFrom(context, sourceType);
- context ITypeDescriptorContext
- An ITypeDescriptorContext that provides a format context.
- sourceType Type
- A Type that represents the type from which you want to convert.
Boolean if this converter can perform the operation; otherwise,
.