WebRequestModuleElement::Prefix Property

 

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

Namespace:   System.Net.Configuration
Assembly:  System (in System.dll)

public:
[ConfigurationPropertyAttribute("prefix", IsRequired = true, 
	IsKey = true)]
property String^ Prefix {
	String^ get();
	void set(String^ value);
}

Property Value

Type: System::String^

A string that contains a URI prefix.

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

  • HTTP

  • HTTPS

  • FTP

  • FILE

.NET Framework
Available since 2.0
Return to top
Show: