GraphNodeIdConverter 类

继承层次结构

System.Object
  System.ComponentModel.TypeConverter
    System.ComponentModel.ExpandableObjectConverter
      Microsoft.VisualStudio.GraphModel.GraphNodeIdConverter

命名空间:  Microsoft.VisualStudio.GraphModel
程序集:  Microsoft.VisualStudio.GraphModel(在 Microsoft.VisualStudio.GraphModel.dll 中)

语法

声明
Public Class GraphNodeIdConverter _
    Inherits ExpandableObjectConverter
public class GraphNodeIdConverter : ExpandableObjectConverter
public ref class GraphNodeIdConverter : public ExpandableObjectConverter
type GraphNodeIdConverter =  
    class
        inherit ExpandableObjectConverter
    end
public class GraphNodeIdConverter extends ExpandableObjectConverter

GraphNodeIdConverter 类型公开以下成员。

构造函数

  名称 说明
公共方法 GraphNodeIdConverter

页首

方法

  名称 说明
公共方法 CanConvertFrom(Type) 返回该转换器是否可以将给定类型的对象转换为此转换器的类型。 (继承自 TypeConverter。)
公共方法 CanConvertFrom(ITypeDescriptorContext, Type) (重写 TypeConverter.CanConvertFrom(ITypeDescriptorContext, Type)。)
公共方法 CanConvertTo(Type) 返回此转换器是否可将该对象转换为指定的类型。 (继承自 TypeConverter。)
公共方法 CanConvertTo(ITypeDescriptorContext, Type) (重写 TypeConverter.CanConvertTo(ITypeDescriptorContext, Type)。)
公共方法 ConvertFrom(Object) 将给定值转换为此转换器的类型。 (继承自 TypeConverter。)
公共方法 ConvertFrom(ITypeDescriptorContext, CultureInfo, Object) (重写 TypeConverter.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) (重写 TypeConverter.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) 在给定 Object 的一组属性值的情况下重新创建该对象。 (继承自 TypeConverter。)
公共方法 CreateInstance(ITypeDescriptorContext, IDictionary) 在已知对象的属性值集的情况下,使用指定的上下文创建与此 TypeConverter 关联的类型的实例。 (继承自 TypeConverter。)
公共方法 Equals 确定指定的 Object 是否等于当前的 Object。 (继承自 Object。)
受保护的方法 Finalize 允许对象在“垃圾回收”回收之前尝试释放资源并执行其他清理操作。 (继承自 Object。)
受保护的方法 GetConvertFromException 返回无法执行转换时引发的异常。 (继承自 TypeConverter。)
受保护的方法 GetConvertToException 返回无法执行转换时引发的异常。 (继承自 TypeConverter。)
公共方法 GetCreateInstanceSupported() 返回以下判断:更改此对象的值是否要求调用 CreateInstance 方法来创建新值。 (继承自 TypeConverter。)
公共方法 GetCreateInstanceSupported(ITypeDescriptorContext) 返回有关更改该对象上的某个值是否需要使用指定的上下文调用 CreateInstance 以创建新值的情况。 (继承自 TypeConverter。)
公共方法 GetHashCode 用作特定类型的哈希函数。 (继承自 Object。)
公共方法 GetProperties(Object) 返回由值参数指定的数组类型的属性集合。 (继承自 TypeConverter。)
公共方法 GetProperties(ITypeDescriptorContext, Object) 使用指定的上下文返回值参数指定的数组类型的属性的集合。 (继承自 TypeConverter。)
公共方法 GetProperties(ITypeDescriptorContext, Object, array<Attribute[]) 获取由值参数指定的对象类型的属性集合。 (继承自 ExpandableObjectConverter。)
公共方法 GetPropertiesSupported() 返回此对象是否支持属性。 (继承自 TypeConverter。)
公共方法 GetPropertiesSupported(ITypeDescriptorContext) 获取一个值,该值指示此对象是否使用指定的上下文支持属性。 (继承自 ExpandableObjectConverter。)
公共方法 GetStandardValues() 从默认的上下文返回此类型转换器设计用于的数据类型的标准值集合。 (继承自 TypeConverter。)
公共方法 GetStandardValues(ITypeDescriptorContext) 当与格式上下文一起提供时,返回此类型转换器设计用于的数据类型的标准值集合。 (继承自 TypeConverter。)
公共方法 GetStandardValuesExclusive() 返回从 GetStandardValues 返回的标准值的集合是否为独占列表。 (继承自 TypeConverter。)
公共方法 GetStandardValuesExclusive(ITypeDescriptorContext) 使用指定的上下文返回从 GetStandardValues 返回的标准值的集合是否为可能值的独占列表。 (继承自 TypeConverter。)
公共方法 GetStandardValuesSupported() 返回此对象是否支持可以从列表中选取的标准值集。 (继承自 TypeConverter。)
公共方法 GetStandardValuesSupported(ITypeDescriptorContext) 使用指定的上下文返回此对象是否支持可以从列表中选取的标准值集。 (继承自 TypeConverter。)
公共方法 GetType 获取当前实例的 Type。 (继承自 Object。)
公共方法 IsValid(Object) 返回给定值对象对于此类型是否有效。 (继承自 TypeConverter。)
公共方法 IsValid(ITypeDescriptorContext, Object) 返回给定值对象对于此类型和此指定的上下文是否有效。 (继承自 TypeConverter。)
受保护的方法 MemberwiseClone 创建当前 Object 的浅表副本。 (继承自 Object。)
受保护的方法 SortProperties 对属性的集合进行排序。 (继承自 TypeConverter。)
公共方法 ToString 返回表示当前对象的字符串。 (继承自 Object。)

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。

请参见

参考

Microsoft.VisualStudio.GraphModel 命名空间