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 获取包含 IDictionary<TKey, TValue> 的键的 ICollection<T>。 (继承自 IDictionary<String, Object>。)
公共属性 Values 获取包含 IDictionary<TKey, TValue> 中的值的 ICollection<T>。 (继承自 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 当实现由选件类,检索数组表一个指定属性的同义词。
公共方法 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结构的 DataConnectionProperties 选件类实现。

请参见

参考

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