xtd 0.2.0
Loading...
Searching...
No Matches

◆ uri_scheme_news

const xtd::ustring xtd::uri::uri_scheme_news
inlinestatic

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

Examples
The following example creates a xtd::uri instance and determines whether the scheme is xtd::uri::uri_scheme_news.
uri address4("news:123456@contoso.com");
if (address4.scheme() == uri::uri_scheme_news)
console::write_line("uri is an Internet news group");
static void write_line()
Writes the current line terminator to the standard output stream using the specified format informati...
static const xtd::ustring uri_scheme_news
Specifies that the URI is an Internet news group and is accessed through the Network News Transport P...
Definition uri.h:201
Provides an object representation of a uniform resource identifier (URI) and easy access to the parts...
Definition uri.h:103