Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Scheme Property

UriBuilder.Scheme Property

Gets or sets the scheme name of the URI.

Namespace: System
Assembly: System (in system.dll)

public string Scheme { get; set; }
/** @property */
public String get_Scheme ()

/** @property */
public void set_Scheme (String value)

public function get Scheme () : String

public function set Scheme (value : String)

Not applicable.

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 resource is accessed through NNTP.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

Community Additions

ADD
Show:
© 2015 Microsoft