DbConnectionStringBuilder.Values 属性

定义

获取一个 ICollection 值,该值包含值 DbConnectionStringBuilder

public:
 virtual property System::Collections::ICollection ^ Values { System::Collections::ICollection ^ get(); };
public virtual System.Collections.ICollection Values { get; }
[System.ComponentModel.Browsable(false)]
public virtual System.Collections.ICollection Values { get; }
member this.Values : System.Collections.ICollection
[<System.ComponentModel.Browsable(false)>]
member this.Values : System.Collections.ICollection
Public Overridable ReadOnly Property Values As ICollection

属性值

包含值中的值ICollectionDbConnectionStringBuilder

实现

属性

注解

未指定值ICollection的顺序,但它与方法返回ICollectionKeys关联键的顺序相同。

返回的 ICollection 不是静态副本;而是 ICollection 引用原始 DbConnectionStringBuilder副本中的值。 因此,更改 DbConnectionStringBuilder 内容将反映在中 ICollection

适用于

另请参阅