WebTestRequest.Encoding Property
Gets or sets the Encoding format.
Namespace: Microsoft.VisualStudio.TestTools.WebTesting
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Syntax
'Declaration
Public Property Encoding As Encoding
'Usage
Dim instance As WebTestRequest
Dim value As Encoding
value = instance.Encoding
instance.Encoding = value
public Encoding Encoding { get; set; }
public:
property Encoding^ Encoding {
Encoding^ get ();
void set (Encoding^ value);
}
public function get Encoding () : Encoding
public function set Encoding (value : Encoding)
Property Value
Type: System.Text.Encoding
Gets an Encoding object. The default format is UTF-8.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.