## implicit operator {#op_implicit}

Performs an implicit conversion from String to [`MimeType`](../).

```csharp
public static implicit operator MimeType(string @string)
```

| Parameter | Type | Description |
| --- | --- | --- |
| string | String | The string. |

### Return Value

The result of the conversion.

### See Also

* class [MimeType](../)
* namespace [Aspose.Html](../../../aspose.html/)
* assembly [Aspose.HTML](../../../)

---

## implicit operator {#op_implicit_1}

Performs an implicit conversion from [`MimeType`](../) to String.

```csharp
public static implicit operator string(MimeType type)
```

| Parameter | Type | Description |
| --- | --- | --- |
| type | MimeType | The mime type. |

### Return Value

The result of the conversion.

### See Also

* class [MimeType](../)
* namespace [Aspose.Html](../../../aspose.html/)
* assembly [Aspose.HTML](../../../)
