PropertyDictionary 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得 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
- 繼承
-
PropertyDictionary
- 衍生
- 屬性
- 實作
-
IPropertyDictionary ISfcNotifyPropertyMetadataChanged ISfcPropertyProvider ISfcPropertySet ICollection<KeyValuePair<String,Object>> ICollection<KeyValuePair<TKey,TValue>> IDictionary<String,Object> IEnumerable<KeyValuePair<String,Object>> IEnumerable<KeyValuePair<TKey,TValue>> IEnumerable<T> IEnumerable INotifyPropertyChanged
建構函式
| 名稱 | Description |
|---|---|
| PropertyDictionary() |
初始化一個新的類別實例 PropertyDictionary ,使用預設屬性值。 |
| PropertyDictionary(IEnumerable<KeyValuePair<String,Object>>) |
初始化一個具有指定屬性的 PropertyDictionary 類別新實例。 |
| PropertyDictionary(ISfcPropertyProvider) |
初始化一個以指定提供者為類別的新 PropertyDictionary 實例。 |
屬性
| 名稱 | Description |
|---|---|
| Count |
取得物業字典中的項目數量。 |
| IsReadOnly |
得到一個值,表示該屬性是否可被修改。 |
| Item[String] |
取得或設定位於指定索引鍵的專案。 |
| Keys |
拿到房產的鑰匙。 |
| Values |
取得包含字典中值的 ICollection 物件。 |
方法
事件
| 名稱 | Description |
|---|---|
| PropertyChanged |
發生在更改應用程式設定屬性的值之後。 |
| PropertyMetadataChanged |
發生在元資料屬性的值被更改之後。 |
明確介面實作
| 名稱 | Description |
|---|---|
| IEnumerable.GetEnumerator() |
回傳一個列舉器,會遍歷目前的集合物件。 |