語言

WebRequestModuleElement.Prefix 屬性

定義

取得或設定目前 Web 請求模組的 URI 前綴。

public:
 property System::String ^ Prefix { System::String ^ get(); void set(System::String ^ value); };
[System.Configuration.ConfigurationProperty("prefix", IsKey=true, IsRequired=true)]
public string Prefix { get; set; }
[<System.Configuration.ConfigurationProperty("prefix", IsKey=true, IsRequired=true)>]
member this.Prefix : string with get, set
Public Property Prefix As String

屬性值

包含 URI 前綴的字串。

屬性

備註

.NET Framework 2.0 版本提供網頁請求模組,可創建以下前綴的資源請求:

  • HTTP

  • HTTPS

  • FTP

  • 檔案

適用於