Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Uri.UriSchemeNews Field


Specifies that the URI is an Internet news group and is accessed through the Network News Transport Protocol (NNTP). This field is read-only.

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

public static readonly string UriSchemeNews

Field Value

Type: System.String

The following example creates a Uri instance and determines whether the scheme is UriSchemeNews.

Uri address4 = new Uri("");
if (address4.Scheme == Uri.UriSchemeNews)
    Console.WriteLine("Uri is an Internet news group");

.NET Framework
Available since 1.1
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
© 2016 Microsoft