Compartilhar via


PropertySettings Classe

Definição

Implementação padrão de 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
Herança
PropertySettings
Implementações

Construtores

PropertySettings()

Inicializa uma nova instância da classe PropertySettings.

PropertySettings(KeyValuePair<String,Object>[])

Inicializa uma nova instância da classe PropertySettings.

Campos

EmptySettings

Configurações vazias

Propriedades

Item[String]

Implementação padrão de IPropertySettings

Métodos

Add(String, Object)

Implementação padrão de IPropertySettings

Métodos de Extensão

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

Adicionar um conteúdo de dicionário ao outro dicionário

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

Obtém um valor pela chave fornecida.

EmptyIfNull<T>(IEnumerable<T>)

Retorne essa enumeração caso ela não seja nula. Caso seja uma enumeração vazia de retorno nulo.

Copy(IPropertySettings, Func<IPropertySettings>)

Cópia profunda de uma instância de configuração

GetPathValue<T>(IPropertySettings, String[])

Recuperar um valor usando um caminho

GetValue<T>(IPropertySettings, String)

Obter Valor do tipo (T)

GetValue<T>(IPropertySettings, String, T)

Obter Valor do tipo (T)

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

GetValues usando a API de Reflexão

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

GetValues usando a API de Reflexão

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

SetValues usando a API de Reflexão

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

SetValues usando a API de Reflexão

TryGetValue<T>(IPropertySettings, String, T)

Extensão de padrão TryGetValue

Aplica-se a