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)

override Method : string with get, set

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: