PropertyDictionary Class

Definition

Gets the list of elements contained in the PropertyDictionary.

public ref class PropertyDictionary : Microsoft::SqlServer::Management::Data::IPropertyDictionary, Microsoft::SqlServer::Management::Sdk::Sfc::ISfcPropertyProvider, Microsoft::SqlServer::Management::Sdk::Sfc::ISfcPropertySet, 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 ^>>, System::ComponentModel::INotifyPropertyChanged
[System.Runtime.InteropServices.ComVisible(true)]
[System.Serializable]
public class PropertyDictionary : Microsoft.SqlServer.Management.Data.IPropertyDictionary, Microsoft.SqlServer.Management.Sdk.Sfc.ISfcPropertyProvider, Microsoft.SqlServer.Management.Sdk.Sfc.ISfcPropertySet, 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>>, System.ComponentModel.INotifyPropertyChanged
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Serializable>]
type PropertyDictionary = class
    interface IPropertyDictionary
    interface ISfcPropertySet
    interface IDictionary<string, obj>
    interface ICollection<KeyValuePair<string, obj>>
    interface seq<KeyValuePair<string, obj>>
    interface IEnumerable
    interface ISfcPropertyProvider
    interface ISfcNotifyPropertyMetadataChanged
    interface INotifyPropertyChanged
Public Class PropertyDictionary
Implements ICollection(Of KeyValuePair(Of String, Object)), IDictionary(Of String, Object), IEnumerable(Of KeyValuePair(Of String, Object)), INotifyPropertyChanged, IPropertyDictionary, ISfcPropertyProvider, ISfcPropertySet
Inheritance
PropertyDictionary
Derived
Attributes
Implements

Constructors

PropertyDictionary()

Initializes a new instance of the PropertyDictionary class with the default property values.

PropertyDictionary(IEnumerable<KeyValuePair<String,Object>>)

Initializes a new instance of the PropertyDictionary class with the specified properties.

PropertyDictionary(ISfcPropertyProvider)

Initializes a new instance of the PropertyDictionary class with the specified provider.

Properties

Count

Gets the count of items in the property dictionary.

IsReadOnly

Gets a value indicating whether the property can be modified.

Item[String]

Gets or sets the item at the specified key.

Keys

Gets the keys of the property.

Values

Gets the ICollection object that contains the values in the dictionary.

Methods

Add(IEnumerable<KeyValuePair<String,Object>>, PropertyCollisionResolution)

Specifies the string inputs to be added to the dictionary.

Add(ISfcProperty)

Indicates a property to be added in the dictionary.

Add(ISfcProperty, PropertyCollisionResolution)

Specifies the string value to be added to the dictionary.

Add(KeyValuePair<String,Object>)

Indicates a specified string value to be added in the dictionary.

Add(KeyValuePair<String,Object>, PropertyCollisionResolution)

Indicates the added value in the dictionary.

Add(String, Object)

Adds the specified key and value to the dictionary.

Add(String, Object, PropertyCollisionResolution)

Indicates the property value to be added with the key, value, and event specified.

Add(String, Type)

Indicates the property value to be added with the name and type specified.

Add(String, Type, PropertyCollisionResolution)

Indicates the property value to be added using PropertyCollisionResolution.

Clear()

Clears the content of the property. This class cannot be inherited.

Contains(ISfcProperty)

Determines a value that indicates a specified object to be contained.

Contains(KeyValuePair<String,Object>)

Provides the object for the PropertyDictionary.

Contains(String)

Determines if the dictionary contains a specific property name.

Contains<T>(String)

Indicates a value whether the dictionary contains a specific name.

ContainsKey(String)

Determines whether the dictionary contains the specified key.

CopyTo(KeyValuePair<String,Object>[], Int32)

Copies the dictionary entries to a one-dimensional Array instance at the specified index.

EnumProperties()

Indicates the enumerable properties for the PropertyDictionary.

GetEnumerator()

Retrieves an enumerator that iterates through the dictionary.

GetPropertySet()

Indicates a specific property in the PropertyDictionary.

OnPropertyChanged(String)

Indicates a specified value of a property that is changed.

OnPropertyMetadataChanged(String)

Indicates a value when a property in the metadata is changed.

Remove(KeyValuePair<String,Object>)

Returns a value that indicates the object to be removed.

Remove(String)

Removes the element with the specified key from the collection.

TryGetProperty(String, ISfcProperty)

Retrieves the property associated with the specified key. This class cannot be inherited.

TryGetPropertyValue(String, Object)

Retrieves a value that indicates a property to get.

TryGetPropertyValue<T>(String, T)

Retrieves a value that indicates a property to get using a list of items.

TryGetValue(String, Object)

Retrieves the value associated with the specified key.

Events

PropertyChanged

Occurs after the value of the application settings property is changed.

PropertyMetadataChanged

Occurs after the value of metadata property is changed.

Explicit Interface Implementations

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through the current Collection object.

Applies to