---
title: "HTMLFragmentSyntax.SetContent"
url: "https://reference.aspose.com/html/net/aspose.html.toolkit.markdown.syntax/htmlfragmentsyntax/setcontent/"
product: "Aspose.HTML for .NET API Reference"
description: "HTMLFragmentSyntax SetContent method. Defines the interface for set Content"
---

## HTMLFragmentSyntax.SetContent method

Defines the interface for set Content.

```csharp
public void SetContent(string html)
```

| Parameter | Type | Description |
| --- | --- | --- |
| html | String | The string html value. |

### See Also

* class [HTMLFragmentSyntax](../)
* namespace [Aspose.Html.Toolkit.Markdown.Syntax](../../../aspose.html.toolkit.markdown.syntax/)
* assembly [Aspose.HTML](../../../)
