Windows apps
Collapse the table of content
Expand the table of content
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.

PackWebRequest::Method Property

 

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

Namespace:   System.IO.Packaging
Assembly:  PresentationCore (in PresentationCore.dll)

public:
property String^ Method {
	virtual String^ get() override;
	virtual void set(String^ value) override;
}

Property Value

Type: System::String^

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).

.NET Framework
Available since 3.0
Return to top
Show:
© 2017 Microsoft