# DataColumnInfoCollection.IsReadOnly Property

> Gets a value indicating whether the collection is read only. Always returns true.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 24.0
- **Namespace:** `TXTextControl.DocumentServer.DataSources`
- **Package:** `TXTextControl.TextControl.WinForms.SDK` (assembly `TXDocumentServer.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXDocumentServer.dll` from the setup
- **Path:** TX Text Control .NET for Windows Forms > Reference > TXTextControl.DocumentServer.DataSources > DataColumnInfoCollection.IsReadOnly Property
- **316 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver-datasources/datacolumninfocollection/isreadonly-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver-datasources/datacolumninfocollection/isreadonly-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver-datasources/datacolumninfocollection/isreadonly-property/llms-full.txt

---

### Description

Gets a value indicating whether the collection is read only. Always returns true.

### Syntax

```csharp
public bool IsReadOnly { get; }
```

```vbnet
Public ReadOnly Property IsReadOnly As Boolean
```

### Examples

The following example checks the is read only state before recording the object's current status.

```csharp
if (dataColumnInfoCollection.IsReadOnly)
{
    Console.WriteLine("Data Column Info Collection is ready for this operation.");
}
```

```vbnet
If dataColumnInfoCollection.IsReadOnly Then
    Console.WriteLine("Data Column Info Collection is ready for this operation.")
End If
```

### Limitations

Read only.

---

## Nearby

- **Previous:** [DataColumnInfoCollection.GetEnumerator Method](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver-datasources/datacolumninfocollection/getenumerator-method/llms-full.txt)
- **Next:** [DataColumnInfoCollection.Item Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver-datasources/datacolumninfocollection/item-property/llms-full.txt)
