Name

UriPartial

Synopsis

This enumeration is used for the Uri.GetLeftPart( ) method. For example, the URL http://www.oreilly.com/index.html#toc has a Scheme of http://, an Authority of http://www.oreilly.com, and a Path of http://www.oreilly.com/index.html (everything up to, but not including, the query delimiter ? or the fragment delimiter #).

public enum UriPartial {
   Scheme = 0,
   Authority = 1,
   Path = 2
}

Hierarchy

Object ValueType Enum(IComparable, IFormattable, IConvertible) UriPartial

Passed To

Uri.GetLeftPart( )

Get C# in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.