TypeKindConverter.

ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type) Method

Summary

Introduces specialized behavior for converting a NAnt.Contrib.Types.ClearCase.TypeKind value to a string that can be used in ClearCase commandline tools.

Syntax

public override Object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, Object value, Type destinationType)

Parameters

Name Type Description
context ITypeDescriptorContext An System.ComponentModel.ITypeDescriptorContext that provides a format context.
culture CultureInfo A System.Globalization.CultureInfo object. If a null is passed, the current culture is assumed.
value Object The System.Object to convert.
destinationType Type The System.Type which value should be converted to.

Return Value

Type Description
Object An System.Object that represents the converted value.