Click or drag to resize

LogLevelTypeConverterCanConvertTo Method (ITypeDescriptorContext, Type)

Returns whether this converter can convert the object to the specified type, using the specified context.

Namespace:  NLog.Attributes
Assembly:  NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax
public override bool CanConvertTo(
	ITypeDescriptorContext context,
	Type destinationType
)

Parameters

context
Type: System.ComponentModelITypeDescriptorContext
An ITypeDescriptorContext that provides a format context.
destinationType
Type: SystemType
A Type that represents the type you want to convert to.

Return Value

Type: Boolean
if this converter can perform the conversion; otherwise, .
See Also