# DocumentLink.DescriptiveText Property

> Gets or sets a descriptive text for a document link. An empty string indicates that the document link has no such text. An empty string can also be used to delete a previously set text.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 34.0
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.Core.SDK` (assembly `TXTextControl.Core.dll`, from the private NuGet feed or Text Control Offline Packages)
- **Package:** `TXTextControl.TextControl.ASP.SDK` (assembly `TXTextControl.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.dll` from the setup
- **Path:** TX Text Control .NET Server > Reference > TXTextControl > DocumentLink.DescriptiveText Property
- **634 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/documentlink/descriptivetext-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/documentlink/descriptivetext-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/documentlink/descriptivetext-property/llms-full.txt

---

### Description

Gets or sets a descriptive text for a document link. An empty string indicates that the document link has no such text. An empty string can also be used to delete a previously set text.

### Syntax

```csharp
public string DescriptiveText { get; set; }
```

```vbnet
Public Property DescriptiveText As String
```

### Examples

The following example creates an internal link to the customer-details destination by using `DocumentLink.DescriptiveText`.

```csharp
DocumentTarget target = new("CustomerDetails");
textControl.DocumentTargets.Add(target);
DocumentLink documentLink = new("View customer details", target);
textControl.DocumentLinks.Add(documentLink);

documentLink.DescriptiveText = "Quarterly sales by region";
if (!string.IsNullOrWhiteSpace(documentLink.DescriptiveText))
{
    Console.WriteLine($"Descriptive Text: {documentLink.DescriptiveText}");
}
```

```vbnet
Dim target As New DocumentTarget("CustomerDetails")
textControl.DocumentTargets.Add(target)
Dim documentLink As New DocumentLink("View customer details", target)
textControl.DocumentLinks.Add(documentLink)

documentLink.DescriptiveText = "Quarterly sales by region"
If Not String.IsNullOrWhiteSpace(documentLink.DescriptiveText) Then
    Console.WriteLine($"Descriptive Text: {documentLink.DescriptiveText}")
End If
```

---

## Nearby

- **Previous:** [DocumentLink Constructor](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/documentlink/constructor/llms-full.txt)
- **Next:** [DocumentLink.DocumentTarget Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/documentlink/documenttarget-property/llms-full.txt)
