Name
UnitConverter
Synopsis
This class provides the functionality needed to convert a Unit
structure to a System.Int32
value. This class is never accessed directly. You can access its functionality
through the System.ComponentModel.TypeDescriptor
helper class.
Public Class UnitConverter : Inherits System.ComponentModel.TypeConverter ' Public Constructors Public Sub New() ' Public Instance Methods Overrides Public Function CanConvertFrom( ByVal context As System.ComponentModel.ITypeDescriptorContext, ByVal sourceType As Type) As Boolean Overrides Public Function ConvertFrom( ByVal context As System.ComponentModel.ITypeDescriptorContext, ByVal culture As System.Globalization.CultureInfo, ByVal value As Object) As Object Overrides Public Function ConvertTo( ByVal context As System.ComponentModel.ITypeDescriptorContext, ByVal culture As System.Globalization.CultureInfo, ByVal value As Object, ByVal destinationType As Type) As Object End Class
Hierarchy
System.Object→System.ComponentModel.TypeConverter→ UnitConverter
Get ASP.NET in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.