Name

DataMemberConverter

Synopsis

This class provides a System.ComponentModel.TypeConverter that can be used to convert a string to a database table name, and vice versa. You will not need to access this class directly, unless you want to use it for a custom ASP.NET control—in which case you can bind it to the DataMember property by using the System.ComponentModel.TypeConverterAttribute.

Public Class DataMemberConverter : 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 GetStandardValues(
        ByVal context As System.ComponentModel.ITypeDescriptorContext) As StandardValuesCollection  
   Overrides Public Function GetStandardValuesExclusive(
        ByVal context As System.ComponentModel.ITypeDescriptorContext) As Boolean  
   Overrides Public Function GetStandardValuesSupported(
        ByVal context As System.ComponentModel.ITypeDescriptorContext) As Boolean  
End Class

Hierarchy

System.ObjectSystem.ComponentModel.TypeConverter DataMemberConverter

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.