PackWebRequest.Method Property


Gets or sets the protocol method to use with the pack URI request.

 virtual property System::String ^ Method { System::String ^ get(); void set(System::String ^ value); };
public override string Method { get; set; }
member this.Method : string with get, set
Public Overrides Property Method As String

Property Value


The protocol method name that performs this request.


The Method property returns an empty string if the request resolves from the PackageStore cache. The Method property is only set when request references an external Web request, such as http or ftp.

The Method property is shared with the inner WebRequest (GetInnerRequest).

Applies to