Редагувати

Поділитися через


DbConnectionStringBuilder.IsFixedSize Property

Definition

Gets a value that indicates whether the DbConnectionStringBuilder has a fixed size.

public:
 virtual property bool IsFixedSize { bool get(); };
[System.ComponentModel.Browsable(false)]
public virtual bool IsFixedSize { get; }
[<System.ComponentModel.Browsable(false)>]
member this.IsFixedSize : bool
Public Overridable ReadOnly Property IsFixedSize As Boolean

Property Value

true if the DbConnectionStringBuilder has a fixed size; otherwise false.

Implements

Attributes

Remarks

A fixed-size collection does not allow adding or removing elements after the collection is created, but it does allow modifying existing elements.

A fixed-size collection is just a collection with a wrapper that prevents adding and removing elements; therefore, if changes are made to the underlying collection, including adding or removing elements, the fixed-size collection reflects those changes.

Applies to

See also