表示公开方法和属性分析和格式化的连接字符串的接口,以及强类型属性、自定义特性和使用存储的。
命名空间: Microsoft.VisualStudio.Data.Services.SupportEntities
程序集: Microsoft.VisualStudio.Data.Services(在 Microsoft.VisualStudio.Data.Services.dll 中)
语法
声明
Public Interface IVsDataConnectionProperties _
Inherits IDictionary(Of String, Object), ICollection(Of KeyValuePair(Of String, Object)), _
IEnumerable(Of KeyValuePair(Of String, Object)), IEnumerable
public interface IVsDataConnectionProperties : IDictionary<string, Object>,
ICollection<KeyValuePair<string, Object>>, IEnumerable<KeyValuePair<string, Object>>,
IEnumerable
public interface class IVsDataConnectionProperties : IDictionary<String^, Object^>,
ICollection<KeyValuePair<String^, Object^>>, IEnumerable<KeyValuePair<String^, Object^>>,
IEnumerable
type IVsDataConnectionProperties =
interface
interface IDictionary<string, Object>
interface ICollection<KeyValuePair<string, Object>>
interface IEnumerable<KeyValuePair<string, Object>>
interface IEnumerable
end
public interface IVsDataConnectionProperties extends IDictionary<String, Object>, ICollection<KeyValuePair<String, Object>>, IEnumerable<KeyValuePair<String, Object>>, IEnumerable
IVsDataConnectionProperties 类型公开以下成员。
属性
名称 | 说明 | |
---|---|---|
![]() |
Count | 获取 ICollection<T> 中包含的元素数。 (继承自 ICollection<KeyValuePair<String, Object>>。) |
![]() |
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>。) |
页首
方法
页首
备注
最简单的情况下,派生类应将特性添加到其在这些属性的选件类并将组件的属性来自定义它们的行为。在更高级的情况下,派生类可以重写分析的和格式化的代码并根据特定事件动态更改任何一个属性,例如设置属性的值。
此接口具有一个基实现。DDEX结构。