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
建構函式
| 名稱 | Description |
|---|---|
| ActionContext() |
初始化一個新的類別實例 ActionContext ,使用預設屬性值。 |
| ActionContext(IContext) |
初始化一個新的類別實例 ActionContext ,並使用指定的上下文參數。 |
| ActionContext(IServiceProvider, IEnumerable<KeyValuePair<String,Object>>) |
初始化一個新的類別實例 ActionContext ,並使用指定的服務提供者與屬性參數。 |
| ActionContext(IServiceProvider) |
初始化類別中指定的服務提供者參數的新實例 ActionContext 。 |
屬性
| 名稱 | Description |
|---|---|
| Count |
取得物業字典中的項目數量。 (繼承來源 PropertyDictionary) |
| IsReadOnly |
得到一個值,表示該屬性是否可被修改。 (繼承來源 PropertyDictionary) |
| Item[String] |
取得或設定位於指定索引鍵的專案。 (繼承來源 PropertyDictionary) |
| Keys |
拿到房產的鑰匙。 (繼承來源 PropertyDictionary) |
| Values |
取得包含字典中值的 ICollection 物件。 (繼承來源 PropertyDictionary) |
方法
事件
| 名稱 | Description |
|---|---|
| PropertyChanged |
發生在更改應用程式設定屬性的值之後。 (繼承來源 PropertyDictionary) |
| PropertyMetadataChanged |
發生在元資料屬性的值被更改之後。 (繼承來源 PropertyDictionary) |
明確介面實作
| 名稱 | Description |
|---|---|
| IEnumerable.GetEnumerator() |
回傳一個列舉器,會遍歷目前的集合物件。 (繼承來源 PropertyDictionary) |