PackWebRequest.Method Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

public override string Method { 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: