共用方式為


LocalizableEnumConverter 類別

Provides a way of converting the values of an Enum type to localized strings. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。

繼承階層

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

命名空間:  Microsoft.SqlServer.Management.Sdk.Sfc
組件:  Microsoft.SqlServer.Management.Sdk.Sfc (在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)

語法

'宣告
Public Class LocalizableEnumConverter _
    Inherits EnumConverter
'用途
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

LocalizableEnumConverter 型別公開下列成員。

建構函式

  名稱 說明
公用方法 LocalizableEnumConverter Initializes a new instance of the LocalizableEnumConverter class. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。

上層

屬性

  名稱 說明
受保護的屬性 Comparer (繼承自 EnumConverter。)
受保護的屬性 EnumType (繼承自 EnumConverter。)
受保護的屬性 Values (繼承自 EnumConverter。)

上層

方法

  名稱 說明
公用方法 CanConvertFrom(Type) (繼承自 TypeConverter。)
公用方法 CanConvertFrom(ITypeDescriptorContext, Type) (繼承自 EnumConverter。)
公用方法 CanConvertTo(Type) (繼承自 TypeConverter。)
公用方法 CanConvertTo(ITypeDescriptorContext, Type) (繼承自 EnumConverter。)
公用方法 ConvertFrom(Object) (繼承自 TypeConverter。)
公用方法 ConvertFrom(ITypeDescriptorContext, CultureInfo, Object) Converts the specified value to the Enum type. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (覆寫 EnumConverter.ConvertFrom(ITypeDescriptorContext, CultureInfo, Object)。)
公用方法 ConvertFromInvariantString(String) (繼承自 TypeConverter。)
公用方法 ConvertFromInvariantString(ITypeDescriptorContext, String) (繼承自 TypeConverter。)
公用方法 ConvertFromString(String) (繼承自 TypeConverter。)
公用方法 ConvertFromString(ITypeDescriptorContext, String) (繼承自 TypeConverter。)
公用方法 ConvertFromString(ITypeDescriptorContext, CultureInfo, String) (繼承自 TypeConverter。)
公用方法 ConvertTo(Object, Type) (繼承自 TypeConverter。)
公用方法 ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type) Converts the given value object to the specified type. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (覆寫 EnumConverter.ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type)。)
公用方法 ConvertToInvariantString(Object) (繼承自 TypeConverter。)
公用方法 ConvertToInvariantString(ITypeDescriptorContext, Object) (繼承自 TypeConverter。)
公用方法 ConvertToString(Object) (繼承自 TypeConverter。)
公用方法 ConvertToString(ITypeDescriptorContext, Object) (繼承自 TypeConverter。)
公用方法 ConvertToString(ITypeDescriptorContext, CultureInfo, Object) (繼承自 TypeConverter。)
公用方法 CreateInstance(IDictionary) (繼承自 TypeConverter。)
公用方法 CreateInstance(ITypeDescriptorContext, IDictionary) (繼承自 TypeConverter。)
公用方法 Equals (繼承自 Object。)
受保護的方法 Finalize (繼承自 Object。)
受保護的方法 GetConvertFromException (繼承自 TypeConverter。)
受保護的方法 GetConvertToException (繼承自 TypeConverter。)
公用方法 GetCreateInstanceSupported() (繼承自 TypeConverter。)
公用方法 GetCreateInstanceSupported(ITypeDescriptorContext) (繼承自 TypeConverter。)
公用方法 GetHashCode (繼承自 Object。)
公用方法 GetProperties(Object) (繼承自 TypeConverter。)
公用方法 GetProperties(ITypeDescriptorContext, Object) (繼承自 TypeConverter。)
公用方法 GetProperties(ITypeDescriptorContext, Object, array<Attribute[]) (繼承自 TypeConverter。)
公用方法 GetPropertiesSupported() (繼承自 TypeConverter。)
公用方法 GetPropertiesSupported(ITypeDescriptorContext) (繼承自 TypeConverter。)
公用方法 GetStandardValues() (繼承自 TypeConverter。)
公用方法 GetStandardValues(ITypeDescriptorContext) Returns a collection of standard values for the list box in the property grid. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (覆寫 EnumConverter.GetStandardValues(ITypeDescriptorContext)。)
公用方法 GetStandardValuesExclusive() (繼承自 TypeConverter。)
公用方法 GetStandardValuesExclusive(ITypeDescriptorContext) Returns whether the collection of standard values returned from the GetStandardValues method is an exclusive list of possible values. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (覆寫 EnumConverter.GetStandardValuesExclusive(ITypeDescriptorContext)。)
公用方法 GetStandardValuesSupported() (繼承自 TypeConverter。)
公用方法 GetStandardValuesSupported(ITypeDescriptorContext) Returns whether this object supports a standard set of values that can be picked from a list. (覆寫 EnumConverter.GetStandardValuesSupported(ITypeDescriptorContext)。)
公用方法 GetType (繼承自 Object。)
公用方法 IsValid(Object) (繼承自 TypeConverter。)
公用方法 IsValid(ITypeDescriptorContext, Object) (繼承自 EnumConverter。)
受保護的方法 MemberwiseClone (繼承自 Object。)
受保護的方法 SortProperties (繼承自 TypeConverter。)
公用方法 ToString (繼承自 Object。)

上層

執行緒安全性

這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。

請參閱

參考

Microsoft.SqlServer.Management.Sdk.Sfc 命名空間