Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

WebTestRequest::Method Property

 

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)

public:
[DefaultValueAttribute("GET")]
property String^ Method {
	String^ get();
	void set(String^ value);
}

Property Value

Type: System::String^

The method that is used for the request. The default value is "GET".

The value for this can be either "GET" or "POST".

Return to top
Show: