共用方式為


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() 從為這個型別轉換子 (Type Converter) 所設計的資料型別預設內容中,傳回標準值的集合。 (繼承自 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 的淺層複本 (Shallow Copy)。 (繼承自 Object)。
受保護的方法 SortProperties 排序屬性的集合。 (繼承自 TypeConverter)。
公用方法 ToString 傳回表示目前物件的字串。 (繼承自 Object)。

回頁首

執行緒安全

這個型別的任何 Public static (在 Visual Basic 中為 Shared) 成員都具備執行緒安全。並非所有的執行個體成員都是安全執行緒。

請參閱

參考

Microsoft.VisualStudio.GraphModel 命名空間