共用方式為


GraphPathSerializationDictionary.Item 屬性

取得或設定具有指定索引鍵的元素。

命名空間:  Microsoft.VisualStudio.GraphModel
組件:  Microsoft.VisualStudio.GraphModel (在 Microsoft.VisualStudio.GraphModel.dll 中)

語法

'宣告
Public Default Property Item ( _
    key As String _
) As String
public string this[
    string key
] { get; set; }
public:
virtual property String^ default[String^ key] {
    String^ get (String^ key) sealed;
    void set (String^ key, String^ value) sealed;
}
abstract Item : 
        key:string -> string with get, set 
override Item : 
        key:string -> string with get, set
JScript 不支援索引屬性。

參數

  • key
    類型:String

屬性值

類型:String
具有指定索引鍵的項目。

實作

IDictionary.Item

.NET Framework 安全性

請參閱

參考

GraphPathSerializationDictionary 類別

Microsoft.VisualStudio.GraphModel 命名空間