# DataTableInfoCollection.IsReadOnly Property

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

- **Product:** TX Text Control .NET for WPF
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 24.0
- **Namespace:** `TXTextControl.DocumentServer.DataSources`
- **Package:** `TXTextControl.TextControl.WPF.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 WPF > Reference > TXTextControl.DocumentServer.DataSources > DataTableInfoCollection.IsReadOnly Property
- **315 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-datasources/datatableinfocollection/isreadonly-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-datasources/datatableinfocollection/isreadonly-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-datasources/datatableinfocollection/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 (dataTableInfoCollection.IsReadOnly)
{
    Console.WriteLine("Data Table Info Collection is ready for this operation.");
}
```

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

### Limitations

Read only.

---

## Nearby

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