set_Method()

FileWebRequest::set_Method(String) method

Sets the HTTP method.

void System::Net::FileWebRequest::set_Method(String value) override

Arguments

ParameterTypeDescription
valueStringThe HTTP method to set.

See Also