set_Method()

WebRequest::set_Method(String) method

Sets the HTTP method.

virtual void System::Net::WebRequest::set_Method(String value)=0

Arguments

ParameterTypeDescription
valueStringThe HTTP method to set.

See Also