ActionContext 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在执行时为动作提供上下文。
public ref class ActionContext : Microsoft::SqlServer::Management::Data::PropertyDictionary, IEquatable<Microsoft::SqlServer::Management::Data::IContext ^>, IServiceProvider, Microsoft::SqlServer::Management::Data::IContext, 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::Design::IServiceContainer
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.AutoDispatch)]
[System.Runtime.InteropServices.ComVisible(true)]
public class ActionContext : Microsoft.SqlServer.Management.Data.PropertyDictionary, IEquatable<Microsoft.SqlServer.Management.Data.IContext>, IServiceProvider, Microsoft.SqlServer.Management.Data.IContext, 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.Design.IServiceContainer
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.AutoDispatch)>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type ActionContext = class
inherit PropertyDictionary
interface IContext
interface IPropertyDictionary
interface ISfcPropertySet
interface IDictionary<string, obj>
interface ICollection<KeyValuePair<string, obj>>
interface seq<KeyValuePair<string, obj>>
interface IEnumerable
interface IEquatable<IContext>
interface IServiceContainer
interface IServiceProvider
Public Class ActionContext
Inherits PropertyDictionary
Implements ICollection(Of KeyValuePair(Of String, Object)), IContext, IDictionary(Of String, Object), IEnumerable(Of KeyValuePair(Of String, Object)), IEquatable(Of IContext), IServiceContainer, IServiceProvider, ISfcPropertySet
- 继承
- 属性
- 实现
-
IContext IPropertyDictionary ISfcPropertySet ICollection<KeyValuePair<String,Object>> ICollection<KeyValuePair<TKey,TValue>> IDictionary<String,Object> IEnumerable<KeyValuePair<String,Object>> IEnumerable<KeyValuePair<TKey,TValue>> IEnumerable<T> IEnumerable IServiceContainer IEquatable<IContext> IServiceProvider
构造函数
| 名称 | 说明 |
|---|---|
| ActionContext() |
初始化一个带有默认属性值的新 ActionContext 类实例。 |
| ActionContext(IContext) |
初始化一个带有指定上下文参数的新类实例 ActionContext 。 |
| ActionContext(IServiceProvider, IEnumerable<KeyValuePair<String,Object>>) |
初始化一个新的类实例 ActionContext ,使用指定的服务提供商和属性参数。 |
| ActionContext(IServiceProvider) |
初始化该类的新实例 ActionContext ,使用指定的服务提供商参数。 |
属性
| 名称 | 说明 |
|---|---|
| Count |
获取财产词典中的物品计数。 (继承自 PropertyDictionary) |
| IsReadOnly |
得到一个值,表示该属性是否可以被修改。 (继承自 PropertyDictionary) |
| Item[String] |
获取或设置指定键处的项。 (继承自 PropertyDictionary) |
| Keys |
拿到房产钥匙。 (继承自 PropertyDictionary) |
| Values |
获取包含字典中值的 ICollection 对象。 (继承自 PropertyDictionary) |
方法
活动
| 名称 | 说明 |
|---|---|
| PropertyChanged |
发生在应用设置属性的值被更改之后。 (继承自 PropertyDictionary) |
| PropertyMetadataChanged |
发生在元数据属性的值被更改之后。 (继承自 PropertyDictionary) |
显式接口实现
| 名称 | 说明 |
|---|---|
| IEnumerable.GetEnumerator() |
返回一个枚举器,遍历当前集合对象。 (继承自 PropertyDictionary) |