Share via


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 ReadOnly Property CharacterSet As String
'Usage
Dim instance As WebTestResponse 
Dim value As String 

value = instance.CharacterSet
public string CharacterSet { get; }
public:
property String^ CharacterSet {
    String^ get ();
}
public function get CharacterSet () : 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

WebTestResponse Members

Microsoft.VisualStudio.TestTools.WebTesting Namespace

Other Resources

HTTP