WebRequestModuleElement.Prefix WebRequestModuleElement.Prefix WebRequestModuleElement.Prefix WebRequestModuleElement.Prefix Property

Definition

Gets or sets the URI prefix for the current Web request module.

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

Property Value

A string that contains a URI prefix.

Remarks

The .NET Framework version 2.0 provides Web request modules that create requests for resources with the following prefixes:

  • HTTP

  • HTTPS

  • FTP

  • FILE

Applies to