Share via


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 提供 Web 请求模块,用于创建具有以下前缀的资源请求:

  • HTTP

  • HTTPS

  • FTP

  • FILE

适用于