Share via


PropertySettings Třída

Definice

Výchozí implementace 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
Dědičnost
PropertySettings
Implementuje

Konstruktory

PropertySettings()

Inicializuje novou instanci PropertySettings třídy.

PropertySettings(KeyValuePair<String,Object>[])

Inicializuje novou instanci PropertySettings třídy.

Pole

EmptySettings

Prázdná nastavení

Vlastnosti

Item[String]

Výchozí implementace IPropertySettings

Metody

Add(String, Object)

Výchozí implementace IPropertySettings

Metody rozšíření

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

Přidání obsahu jednoho slovníku do jiného slovníku

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

Získá hodnotu podle daného klíče.

EmptyIfNull<T>(IEnumerable<T>)

Pokud nemá hodnotu null, vraťte tento výčet. V případě, že je hodnota null, vraťte prázdný výčet.

Copy(IPropertySettings, Func<IPropertySettings>)

Hloubková kopie instance konfigurace

GetPathValue<T>(IPropertySettings, String[])

Načtení hodnoty pomocí cesty

GetValue<T>(IPropertySettings, String)

Získat hodnotu typu (T)

GetValue<T>(IPropertySettings, String, T)

Získat hodnotu typu (T)

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

Získání hodnot pomocí rozhraní Reflection API

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

Získání hodnot pomocí rozhraní Reflection API

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

Nastavení hodnot pomocí rozhraní Reflection API

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

Nastavení hodnot pomocí rozhraní Reflection API

TryGetValue<T>(IPropertySettings, String, T)

Rozšíření vzoru TryGetValue

Platí pro