This documentation is archived and is not being maintained.

UriBuilder.Scheme Property

Gets or sets the scheme name of the URI.

[Visual Basic]
Public Property Scheme As String
public string Scheme {get; set;}
public: __property String* get_Scheme();
public: __property void set_Scheme(String*);
public function get Scheme() : String;
public function set Scheme(String);

Property Value

The scheme of the URI.


The following table lists the valid scheme names for the Scheme property.

Scheme Description
file The resource is a file on the local computer.
ftp The resource is accessed through FTP.
gopher The resource is accessed through the Gopher protocol.
http The resource is accessed through HTTP.
https The resource is accessed through SSL-encrypted HTTP.
mailto The resource is an e-mail address and is accessed through SMTP.
news The resources is accessed through NNTP.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Common Language Infrastructure (CLI) Standard

See Also

UriBuilder Class | UriBuilder Members | System Namespace