IsFixedSize Property

DbConnectionStringBuilder.IsFixedSize Property

 

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

Namespace:   System.Data.Common
Assembly:  System.Data (in System.Data.dll)

[BrowsableAttribute(false)]
public virtual bool IsFixedSize { get; }

Property Value

Type: System.Boolean

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

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.

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft