---
title: "IUserAgentService.Language"
url: "https://reference.aspose.com/html/net/aspose.html.services/iuseragentservice/language/"
product: "Aspose.HTML for .NET API Reference"
description: "IUserAgentService Language property. The Language specifies the primary language for the elements contents and for any of the elements attributes that contain text. Its value must be a valid BCP 47  language tag or the empty string. Setting the attribute to the empty string indicates that the primary language is unknown"
---

## IUserAgentService.Language property

The `Language` specifies the primary language for the element's contents and for any of the element's attributes that contain text. Its value must be a valid BCP 47 () language tag, or the empty string. Setting the attribute to the empty string indicates that the primary language is unknown.

```csharp
public string Language { get; set; }
```

### Property Value

The user agent language.

### See Also

* interface [IUserAgentService](../)
* namespace [Aspose.Html.Services](../../../aspose.html.services/)
* assembly [Aspose.HTML](../../../)
