Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the method to use for the request.
Namespace: Microsoft.VisualStudio.TestTools.WebTesting
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Syntax
'Declaration
Public Property Method As String
'Usage
Dim instance As WebTestRequest
Dim value As String
value = instance.Method
instance.Method = value
public string Method { get; set; }
public:
property String^ Method {
String^ get ();
void set (String^ value);
}
public function get Method () : String
public function set Method (value : String)
Property Value
Type: System.String
The method that is used for the request. The default value is "GET".
Remarks
The value for this can be either "GET" or "POST".
.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.