Udostępnij przez


PropertySettings Klasa

Definicja

Domyślna implementacja 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
Dziedziczenie
PropertySettings
Implementuje

Konstruktory

PropertySettings()

Inicjuje nowe wystąpienie klasy PropertySettings.

PropertySettings(KeyValuePair<String,Object>[])

Inicjuje nowe wystąpienie klasy PropertySettings.

Pola

EmptySettings

Puste ustawienia

Właściwości

Item[String]

Domyślna implementacja IPropertySettings

Metody

Add(String, Object)

Domyślna implementacja IPropertySettings

Metody rozszerzania

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

Dodawanie jednej zawartości słownika do innego słownika

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

Pobiera wartość według danego klucza.

EmptyIfNull<T>(IEnumerable<T>)

Zwróć tę wyliczenie, jeśli nie ma wartości null. W przypadku, gdy ma wartość null, zwraca puste wyliczenie.

Copy(IPropertySettings, Func<IPropertySettings>)

Głęboka kopia wystąpienia konfiguracji

GetPathValue<T>(IPropertySettings, String[])

Pobieranie wartości przy użyciu ścieżki

GetValue<T>(IPropertySettings, String, T)

Pobierz wartość typu (T)

GetValue<T>(IPropertySettings, String)

Pobierz wartość typu (T)

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

GetValues przy użyciu interfejsu API odbicia

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

GetValues przy użyciu interfejsu API odbicia

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

SetValues przy użyciu interfejsu API odbicia

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

SetValues przy użyciu interfejsu API odbicia

TryGetValue<T>(IPropertySettings, String, T)

Rozszerzenie wzorca TryGetValue

Dotyczy