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
构造函数
| 名称 | 说明 |
|---|---|
| PropertyDictionary() |
初始化一个带有默认属性值的新 PropertyDictionary 类实例。 |
| PropertyDictionary(IEnumerable<KeyValuePair<String,Object>>) |
初始化具有指定属性的 PropertyDictionary 类的新实例。 |
| PropertyDictionary(ISfcPropertyProvider) |
初始化该类的新实例 PropertyDictionary ,使用指定的提供者。 |
属性
| 名称 | 说明 |
|---|---|
| Count |
获取财产词典中的物品计数。 |
| IsReadOnly |
得到一个值,表示该属性是否可以被修改。 |
| Item[String] |
获取或设置指定键处的项。 |
| Keys |
拿到房产钥匙。 |
| Values |
获取包含字典中值的 ICollection 对象。 |
方法
活动
| 名称 | 说明 |
|---|---|
| PropertyChanged |
发生在应用设置属性的值被更改之后。 |
| PropertyMetadataChanged |
发生在元数据属性的值被更改之后。 |
显式接口实现
| 名称 | 说明 |
|---|---|
| IEnumerable.GetEnumerator() |
返回一个枚举器,遍历当前集合对象。 |