Export (0) Print
Expand All

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)

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 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 .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0, 1.1, 1.0

Community Additions

ADD
Show:
© 2014 Microsoft