共用方式為


IVsDataConnectionUIProperties 介面

提供管理資料連接屬性在連接 UI (例如,資料連接對話方塊) 中。

命名空間:  Microsoft.VisualStudio.Data.Services.SupportEntities
組件:  Microsoft.VisualStudio.Data.Services (在 Microsoft.VisualStudio.Data.Services.dll 中)

語法

'宣告
Public Interface IVsDataConnectionUIProperties _
    Inherits IVsDataConnectionProperties, IDictionary(Of String, Object),  _
    ICollection(Of KeyValuePair(Of String, Object)), IEnumerable(Of KeyValuePair(Of String, Object)),  _
    IEnumerable, ICustomTypeDescriptor, INotifyPropertyChanged
public interface IVsDataConnectionUIProperties : IVsDataConnectionProperties, 
    IDictionary<string, Object>, ICollection<KeyValuePair<string, Object>>, 
    IEnumerable<KeyValuePair<string, Object>>, IEnumerable, ICustomTypeDescriptor, 
    INotifyPropertyChanged
public interface class IVsDataConnectionUIProperties : IVsDataConnectionProperties, 
    IDictionary<String^, Object^>, ICollection<KeyValuePair<String^, Object^>>, 
    IEnumerable<KeyValuePair<String^, Object^>>, IEnumerable, 
    ICustomTypeDescriptor, INotifyPropertyChanged
type IVsDataConnectionUIProperties =  
    interface
        interface IVsDataConnectionProperties
        interface IDictionary<string, Object>
        interface ICollection<KeyValuePair<string, Object>>
        interface IEnumerable<KeyValuePair<string, Object>>
        interface IEnumerable
        interface ICustomTypeDescriptor
        interface INotifyPropertyChanged
    end
public interface IVsDataConnectionUIProperties extends IVsDataConnectionProperties, IDictionary<String, Object>, ICollection<KeyValuePair<String, Object>>, IEnumerable<KeyValuePair<String, Object>>, IEnumerable, ICustomTypeDescriptor, INotifyPropertyChanged

IVsDataConnectionUIProperties 型別會公開下列成員。

屬性

  名稱 說明
公用屬性 Count 取得 ICollection<T> 中所包含的元素數。 (繼承自 ICollection<KeyValuePair<String, Object>>)。
公用屬性 IsComplete 當由類別實作時,取得指示指定連接字串是否為完整的。
公用屬性 IsExtensible 當由類別實作時,取得或設定值 DDEX 提供者連接屬性是否 Boolean 值是可擴充的。
公用屬性 IsReadOnly 取得值,指出 ICollection<T> 是否唯讀。 (繼承自 ICollection<KeyValuePair<String, Object>>)。
公用屬性 Item 取得或設定具有指定索引鍵的元素。 (繼承自 IDictionary<String, Object>)。
公用屬性 Keys 取得 ICollection<T>,包含 IDictionary<TKey, TValue> 的索引鍵。 (繼承自 IDictionary<String, Object>)。
公用屬性 Values 取得 ICollection<T>,包含 IDictionary<TKey, TValue> 中的值。 (繼承自 IDictionary<String, Object>)。

回頁首

方法

  名稱 說明
公用方法 Add(T) 將項目加入至 ICollection<T>。 (繼承自 ICollection<KeyValuePair<String, Object>>)。
公用方法 Add(TKey, TValue) 將具有提供索引鍵和值的元素加入至 IDictionary<TKey, TValue>。 (繼承自 IDictionary<String, Object>)。
公用方法 Add(String, Type, Object) 當由類別實作時,將新的屬性加入至目前連接屬性集合。 (繼承自 IVsDataConnectionProperties)。
公用方法 Clear 將所有項目從 ICollection<T> 移除。 (繼承自 ICollection<KeyValuePair<String, Object>>)。
公用方法 Contains 判斷 ICollection<T> 是否包含特定值。 (繼承自 ICollection<KeyValuePair<String, Object>>)。
公用方法 ContainsKey 判斷 IDictionary<TKey, TValue> 是否包含具有指定之索引鍵的項目。 (繼承自 IDictionary<String, Object>)。
公用方法 CopyTo 從特定的 Array 索引開始,複製 ICollection<T> 項目至 Array。 (繼承自 ICollection<KeyValuePair<String, Object>>)。
公用方法 GetAttributes 傳回這個元件執行個體的自訂屬性集合。 (繼承自 ICustomTypeDescriptor)。
公用方法 GetClassName 傳回這個元件執行個體的類別名稱。 (繼承自 ICustomTypeDescriptor)。
公用方法 GetComponentName 傳回這個元件執行個體的名稱。 (繼承自 ICustomTypeDescriptor)。
公用方法 GetConverter 傳回這個元件執行個體的型別轉換子。 (繼承自 ICustomTypeDescriptor)。
公用方法 GetDefaultEvent 傳回這個元件執行個體的預設事件。 (繼承自 ICustomTypeDescriptor)。
公用方法 GetDefaultProperty 傳回這個元件執行個體的預設屬性。 (繼承自 ICustomTypeDescriptor)。
公用方法 GetEditor 傳回這個物件執行個體的指定型別編輯器。 (繼承自 ICustomTypeDescriptor)。
公用方法 GetEnumerator() 傳回可逐一查看集合的列舉程式。 (繼承自 IEnumerable<KeyValuePair<String, Object>>)。
公用方法 GetEnumerator() 傳回會逐一查看集合的列舉程式。 (繼承自 IEnumerable)。
公用方法 GetEvents() 傳回這個元件執行個體的事件。 (繼承自 ICustomTypeDescriptor)。
公用方法 GetEvents(array<Attribute[]) 使用指定的屬性陣列做為篩選條件,以傳回這個元件執行個體的事件。 (繼承自 ICustomTypeDescriptor)。
公用方法 GetProperties() 傳回這個元件執行個體的屬性。 (繼承自 ICustomTypeDescriptor)。
公用方法 GetProperties(array<Attribute[]) 使用屬性陣列做為篩選條件,以傳回這個元件執行個體的屬性。 (繼承自 ICustomTypeDescriptor)。
公用方法 GetPropertyOwner 傳回物件,包含指定的屬性描述項所描述的屬性。 (繼承自 ICustomTypeDescriptor)。
公用方法 GetSynonyms 當由類別實作時,這個方法會擷取指定之屬性的同義資料表 (Synonym) 陣列清單。
公用方法 IsSensitive 當由類別實作時,指出屬性是否包含機密資訊。
公用方法 Parse 當由類別實作,反組譯碼連接字串的元件至一組目前 DataConnectionProperties 的屬性執行個體。 (繼承自 IVsDataConnectionProperties)。
公用方法 Remove(TKey) 將有指定索引鍵的元素從 IDictionary<TKey, TValue> 移除。 (繼承自 IDictionary<String, Object>)。
公用方法 Remove(T) ICollection<T> 移除特定物件的第一個相符項目。 (繼承自 ICollection<KeyValuePair<String, Object>>)。
公用方法 Reset() 當由類別實作時,重設連接屬性的值為初始狀態。 (繼承自 IVsDataConnectionProperties)。
公用方法 Reset(String) 當由類別實作時,從目前資料集連接屬性移除指定的屬性。 (繼承自 IVsDataConnectionProperties)。
公用方法 ToDisplayString 當由類別實作,以擷取適用於螢幕上顯示目前資料集的字串表示連接屬性。
公用方法 ToSafeString 當由類別實作,以擷取排除敏感性屬性或屬性不應該保存目前資料集的字串表示連接屬性。 (繼承自 IVsDataConnectionProperties)。
公用方法 ToString 當由類別實作,以擷取目前連接屬性的預設字串表示。 (繼承自 IVsDataConnectionProperties)。
公用方法 TryGetValue 取得與指定索引鍵關聯的值。 (繼承自 IDictionary<String, Object>)。

回頁首

事件

  名稱 說明
公用事件 PropertyChanged 發生於屬性值變更時。 (繼承自 INotifyPropertyChanged)。

回頁首

備註

這個介面是由 DDEX Framework 的 DataConnectionProperties 類別實作。

請參閱

參考

Microsoft.VisualStudio.Data.Services.SupportEntities 命名空間