This documentation is archived and is not being maintained.

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 override string Method { get; set; }
/** @property */
public String get_Method ()

/** @property */
public void set_Method (String value)

public override function get Method () : String

public override function set Method (value : String)

You cannot use this property in XAML.

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

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0
Show: