다음을 통해 공유


Uri.UriSchemeNews 필드

URI를 인터넷 뉴스 그룹으로 지정하고 NNTP(Network News Transport Protocol)를 통해 URI에 액세스하도록 지정합니다. 이 필드는 읽기 전용입니다.

네임스페이스: System
어셈블리: System(system.dll)

구문

‘선언
Public Shared ReadOnly UriSchemeNews As String
‘사용 방법
Dim value As String

value = Uri.UriSchemeNews
public static readonly string UriSchemeNews
public:
static initonly String^ UriSchemeNews
public static final String UriSchemeNews
public static final var UriSchemeNews : String

예제

다음 예제에서는 Uri 인스턴스를 만들고 체계가 UriSchemeNews인지 여부를 확인합니다.

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

플랫폼

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

.NET Framework에서 모든 플래폼의 모든 버전을 지원하지는 않습니다. 지원되는 버전의 목록은 시스템 요구 사항을 참조하십시오.

버전 정보

.NET Framework

2.0, 1.1, 1.0에서 지원

.NET Compact Framework

2.0, 1.0에서 지원

참고 항목

참조

Uri 클래스
Uri 멤버
System 네임스페이스