Uri.Scheme Property

Gets the scheme name for this URI.

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

Syntax

public string Scheme { get; }

Property Value

A String containing the scheme for this URI, converted to lowercase.

Exceptions

Exception type Condition
InvalidOperationException This instance represents a relative URI, and this property is valid only for absolute URIs.

Version Information

Available in the .NET Micro Framework versions 4.0, 4.1, and 4.2.

See Also

Reference

Uri Class
Uri Members
System Namespace