مشاركة عبر


LocalizableEnumConverter Class

Provides a way of converting the values of an Enum type to localized strings. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

Inheritance Hierarchy

System.Object
  System.ComponentModel.TypeConverter
    System.ComponentModel.EnumConverter
      Microsoft.SqlServer.Management.Sdk.Sfc.LocalizableEnumConverter

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
Public Class LocalizableEnumConverter _
    Inherits EnumConverter
'Usage
Dim instance As LocalizableEnumConverter
public class LocalizableEnumConverter : EnumConverter
public ref class LocalizableEnumConverter : public EnumConverter
type LocalizableEnumConverter =  
    class 
        inherit EnumConverter 
    end
public class LocalizableEnumConverter extends EnumConverter

The LocalizableEnumConverter type exposes the following members.

Constructors

  Name Description
Public method LocalizableEnumConverter Initializes a new instance of the LocalizableEnumConverter class. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

Top

Properties

  Name Description
Protected property Comparer (Inherited from EnumConverter.)
Protected property EnumType (Inherited from EnumConverter.)
Protected property Values (Inherited from EnumConverter.)

Top

Methods

  Name Description
Public method CanConvertFrom(Type) (Inherited from TypeConverter.)
Public method CanConvertFrom(ITypeDescriptorContext, Type) (Inherited from EnumConverter.)
Public method CanConvertTo(Type) (Inherited from TypeConverter.)
Public method CanConvertTo(ITypeDescriptorContext, Type) (Inherited from EnumConverter.)
Public method ConvertFrom(Object) (Inherited from TypeConverter.)
Public method ConvertFrom(ITypeDescriptorContext, CultureInfo, Object) Converts the specified value to the Enum type. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Overrides EnumConverter.ConvertFrom(ITypeDescriptorContext, CultureInfo, Object).)
Public method ConvertFromInvariantString(String) (Inherited from TypeConverter.)
Public method ConvertFromInvariantString(ITypeDescriptorContext, String) (Inherited from TypeConverter.)
Public method ConvertFromString(String) (Inherited from TypeConverter.)
Public method ConvertFromString(ITypeDescriptorContext, String) (Inherited from TypeConverter.)
Public method ConvertFromString(ITypeDescriptorContext, CultureInfo, String) (Inherited from TypeConverter.)
Public method ConvertTo(Object, Type) (Inherited from TypeConverter.)
Public method ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type) Converts the given value object to the specified type. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Overrides EnumConverter.ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type).)
Public method ConvertToInvariantString(Object) (Inherited from TypeConverter.)
Public method ConvertToInvariantString(ITypeDescriptorContext, Object) (Inherited from TypeConverter.)
Public method ConvertToString(Object) (Inherited from TypeConverter.)
Public method ConvertToString(ITypeDescriptorContext, Object) (Inherited from TypeConverter.)
Public method ConvertToString(ITypeDescriptorContext, CultureInfo, Object) (Inherited from TypeConverter.)
Public method CreateInstance(IDictionary) (Inherited from TypeConverter.)
Public method CreateInstance(ITypeDescriptorContext, IDictionary) (Inherited from TypeConverter.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Protected method GetConvertFromException (Inherited from TypeConverter.)
Protected method GetConvertToException (Inherited from TypeConverter.)
Public method GetCreateInstanceSupported() (Inherited from TypeConverter.)
Public method GetCreateInstanceSupported(ITypeDescriptorContext) (Inherited from TypeConverter.)
Public method GetHashCode (Inherited from Object.)
Public method GetProperties(Object) (Inherited from TypeConverter.)
Public method GetProperties(ITypeDescriptorContext, Object) (Inherited from TypeConverter.)
Public method GetProperties(ITypeDescriptorContext, Object, array<Attribute[]) (Inherited from TypeConverter.)
Public method GetPropertiesSupported() (Inherited from TypeConverter.)
Public method GetPropertiesSupported(ITypeDescriptorContext) (Inherited from TypeConverter.)
Public method GetStandardValues() (Inherited from TypeConverter.)
Public method GetStandardValues(ITypeDescriptorContext) Returns a collection of standard values for the list box in the property grid. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Overrides EnumConverter.GetStandardValues(ITypeDescriptorContext).)
Public method GetStandardValuesExclusive() (Inherited from TypeConverter.)
Public method GetStandardValuesExclusive(ITypeDescriptorContext) Returns whether the collection of standard values returned from the GetStandardValues method is an exclusive list of possible values. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Overrides EnumConverter.GetStandardValuesExclusive(ITypeDescriptorContext).)
Public method GetStandardValuesSupported() (Inherited from TypeConverter.)
Public method GetStandardValuesSupported(ITypeDescriptorContext) Returns whether this object supports a standard set of values that can be picked from a list. (Overrides EnumConverter.GetStandardValuesSupported(ITypeDescriptorContext).)
Public method GetType (Inherited from Object.)
Public method IsValid(Object) (Inherited from TypeConverter.)
Public method IsValid(ITypeDescriptorContext, Object) (Inherited from EnumConverter.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method SortProperties (Inherited from TypeConverter.)
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.SqlServer.Management.Sdk.Sfc Namespace