Hunny Software Library Reference

MediaType.Charset Property

Gets or sets the value of the charset parameter.

[Visual Basic]
Public Property Charset As String
[C#]
public string Charset {get; set;}

Property Value

The value of the charset parameter.

Remarks

The charset parameter is often found in text media types. It indicates the character encoding of the text content.

If there is no charset parameter, the property returns an empty string.

This property is a convenience property that searches the list of Parameter objects.

See Also

MediaType Class | Hunny.Mime Namespace