WebTestResponse.CharacterSet Property

Gets the character set that is specified in the response headers.

Namespace:  Microsoft.VisualStudio.TestTools.WebTesting
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

Syntax

'Declaration
Public Property CharacterSet As String
public string CharacterSet { get; internal set; }
public:
property String^ CharacterSet {
    String^ get ();
    internal: void set (String^ value);
}
member CharacterSet : string with get, internal set
function get CharacterSet () : String
internal function set CharacterSet (value : String)

Property Value

Type: System.String
A string that contains the character set of the response.

Exceptions

Exception Condition
ObjectDisposedException

The current instance has been disposed.

Remarks

The CharacterSet property contains a value describing the character set of the response. This character set information is taken from the header that is returned with the response.

.NET Framework Security

See Also

Reference

WebTestResponse Class

Microsoft.VisualStudio.TestTools.WebTesting Namespace

Other Resources

HTTP