共用方式為


RootElementSettings.Item 屬性

取得或設定其他屬性。 預設產生的序列化程式碼並沒有使用任何其他屬性。 這是要傳遞詳細資訊的自訂程式碼的設計工具(如有必要)。 在取得時,指定的設定名稱會依序數進行比較,如果指定的設定名稱不符合任何儲存的設定值,則傳回 null。 在設定時,如果沒有同名的現有設定 (依序數比較),新值會取代舊值,而不出現錯誤。 設定名稱必須是非空白。

命名空間:  Microsoft.VisualStudio.Modeling
組件:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (在 Microsoft.VisualStudio.Modeling.Sdk.12.0.dll 中)

語法

'宣告
Public Default Property Item ( _
    settingName As String _
) As Object
public Object this[
    string settingName
] { get; set; }

參數

屬性值

類型:System.Object

.NET Framework 安全性

請參閱

參考

RootElementSettings 類別

Microsoft.VisualStudio.Modeling 命名空間