PackWebRequest.Method 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定協定方法,用於 pack URI 請求。
public:
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
屬性值
執行此請求的協定方法名稱。
備註
如果請求從PackageStore快取解決,該Method屬性會回傳一個空字串。 只有當請求引用外部網路請求(如 http 或 ftp)時,才 Method 會設定此屬性。
該 Method 性質與內層 WebRequest (GetInnerRequest)共享。