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
[C#]
public string Scheme {get; set;}
[C++]
public: __property String* get_Scheme();
public: __property void set_Scheme(String*);
[JScript]
public function get Scheme() : String;
public function set Scheme(String);

Property Value

The scheme of the URI.

Remarks

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.

Requirements

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

Show: