Bewerken

Share via


DbConnectionStringBuilder.IsReadOnly Property

Definition

Gets a value that indicates whether the DbConnectionStringBuilder is read-only.

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

Property Value

true if the DbConnectionStringBuilder is read-only; otherwise false. The default is false.

Implements

Attributes

Remarks

A read-only collection does not allow adding, removing, or modifying elements after the collection is created.

A read-only collection is just a collection with a wrapper that prevents modifying the collection; therefore, if changes are made to the underlying collection, the read-only collection reflects those changes.

Applies to

See also