Click or drag to resize
Sandcastle Help File BuilderVersionTypeConverterConvertFrom Method (ITypeDescriptorContext, CultureInfo, Object)
Converts the given object to the type of this converter, using the specified context and culture information.

Namespace: SandcastleBuilder.Utils.Design
Assembly: SandcastleBuilder.Utils (in SandcastleBuilder.Utils.dll) Version: 2014.11.22.0
Syntax
public override Object ConvertFrom(
	ITypeDescriptorContext context,
	CultureInfo culture,
	Object value
)

Parameters

context
Type: System.ComponentModelITypeDescriptorContext
An ITypeDescriptorContext that provides a format context.
culture
Type: System.GlobalizationCultureInfo
The CultureInfo to use as the current culture.
value
Type: SystemObject
The Object to convert.

Return Value

Type: Object
A Version object. The value is always a four-part version number with any unused parts defaulted to zero. If the new value is null or an empty string, null is returned.
Exceptions
ExceptionCondition
NotSupportedExceptionThe conversion cannot be performed.
See Also