# EmbeddedFile.Relationship Property

> PDF/A only. Gets an optional string describing the relationship of the embedded file and the containing document. This string can be a predefined value or should follow the rules for second-class names (ISO 32000-1, Annex E). Predefined values are "Source", "Data", "Alternative", "Supplement" or "Unspecified". It is null, if a relationship string is not available.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 33.0
- **Namespace:** `TXTextControl.DocumentServer.PDF`
- **Package:** `TXTextControl.TextControl.Core.SDK` (assembly `TXDocumentServer.Core.dll`, from the private NuGet feed or Text Control Offline Packages)
- **Package:** `TXTextControl.TextControl.ASP.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 Server > Reference > TXTextControl.DocumentServer.PDF > EmbeddedFile.Relationship Property
- **368 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-documentserver-pdf/embeddedfile/relationship-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-documentserver-pdf/embeddedfile/relationship-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-documentserver-pdf/embeddedfile/relationship-property/llms-full.txt

---

### Description

PDF/A only. Gets an optional string describing the relationship of the embedded file and the containing document. This string can be a predefined value or should follow the rules for second-class names (ISO 32000-1, Annex E). Predefined values are "Source", "Data", "Alternative", "Supplement" or "Unspecified". It is null, if a relationship string is not available.

### Syntax

```csharp
public string Relationship { get; }
```

```vbnet
Public ReadOnly Property Relationship As String
```

### Examples

The following example includes the relationship value in application diagnostics. The created object is then available to the surrounding document workflow.

```csharp
Console.WriteLine($"Relationship: {embeddedFile.Relationship}");
Console.WriteLine("Embedded File is ready for use.");
```

```vbnet
Console.WriteLine($"Relationship: {embeddedFile.Relationship}")
Console.WriteLine("Embedded File is ready for use.")
```

### Limitations

Read only.

---

## Nearby

- **Previous:** [EmbeddedFile.MimeType Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-documentserver-pdf/embeddedfile/mimetype-property/llms-full.txt)
- **Next:** [EmbeddedFile.StringData Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-documentserver-pdf/embeddedfile/stringdata-property/llms-full.txt)
