DataRelations Property
- Namespace
TXTextControl.DocumentServer. DataSources
- Package
TXTextControl.asTextControl. WPF. SDK TXDocumentServer.from the private NuGet feed or Text Control Offline Packagesdll
Description
Gets a DataRelationInfoCollection of DataRelationInfo objects which represent the data relations in the data source.
Syntax
public DataRelationInfoCollection DataRelations { get; }Public ReadOnly Property DataRelations As DataRelationInfoCollectionExamples
The following example iterates through the data relations collection and processes each data relation info.
foreach (TXTextControl.DocumentServer.DataSources.DataRelationInfo dataRelationInfo in dataSourceManager.DataRelations)
{
Console.WriteLine(dataRelationInfo.RelationName);
}For Each dataRelationInfo As TXTextControl.DocumentServer.DataSources.DataRelationInfo In dataSourceManager.DataRelations
Console.WriteLine(dataRelationInfo.RelationName)
NextLimitations
Read only.