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 Shared ReadOnly UriSchemeNews As String

Field Value

Type: System.String

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

Dim address4 As New Uri("news:123456@contoso.com")
If address4.Scheme = Uri.UriSchemeNews Then
    Console.WriteLine("Uri is an Internet news group")
End If 

.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: