PropertySettings 類別

定義

默認 IPropertySettings 實作

public ref class PropertySettings : System::Collections::Generic::Dictionary<System::String ^, System::Object ^>, Microsoft::VisualStudio::Workspace::IPropertySettings, System::Collections::Generic::ICollection<System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>>, System::Collections::Generic::IDictionary<System::String ^, System::Object ^>, System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>>
public class PropertySettings : System.Collections.Generic.Dictionary<string,object>, Microsoft.VisualStudio.Workspace.IPropertySettings, System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<string,object>>, System.Collections.Generic.IDictionary<string,object>, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,object>>
type PropertySettings = class
    inherit Dictionary<string, obj>
    interface IPropertySettings
    interface IDictionary<string, obj>
    interface ICollection<KeyValuePair<string, obj>>
    interface seq<KeyValuePair<string, obj>>
    interface IEnumerable
Public Class PropertySettings
Inherits Dictionary(Of String, Object)
Implements ICollection(Of KeyValuePair(Of String, Object)), IDictionary(Of String, Object), IEnumerable(Of KeyValuePair(Of String, Object)), IPropertySettings
繼承
PropertySettings
實作

建構函式

PropertySettings()

初始化 PropertySettings 類別的新執行個體。

PropertySettings(KeyValuePair<String,Object>[])

初始化 PropertySettings 類別的新執行個體。

欄位

EmptySettings

空白設定

屬性

Item[String]

默認 IPropertySettings 實作

方法

Add(String, Object)

默認 IPropertySettings 實作

擴充方法

AddRange<TKey,TValue>(IDictionary<TKey,TValue>, IDictionary<TKey,TValue>, Boolean)

將一個字典內容新增至另一個字典

GetOrDefault<TK,TV>(IDictionary<TK,TV>, TK)

依指定的索引鍵取得值。

EmptyIfNull<T>(IEnumerable<T>)

如果此列舉不是 Null,則傳回此列舉。 如果是 null,則傳回空列舉。

Copy(IPropertySettings, Func<IPropertySettings>)

組態實例的深層複本

GetPathValue<T>(IPropertySettings, String[])

使用路徑擷取值

GetValue<T>(IPropertySettings, String)

取得 T (T) 類型的值

GetValue<T>(IPropertySettings, String, T)

取得 T (T) 類型的值

GetValues(IPropertySettings, Object, BindingFlags, Func<String,String>)

使用反映 API 的 GetValues

GetValues(IPropertySettings, Object, PropertyInfo[], Func<String,String>)

使用反映 API 的 GetValues

SetValues(IPropertySettings, Object, BindingFlags, Func<String,String>)

使用反映 API 的 SetValues

SetValues(IPropertySettings, Object, PropertyInfo[], Func<String,String>)

使用反映 API 的 SetValues

TryGetValue<T>(IPropertySettings, String, T)

TryGetValue 模式延伸模組

適用於