Uri.UriSchemeNews 필드

정의

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

public: static initonly System::String ^ UriSchemeNews;
public static readonly string UriSchemeNews;
 staticval mutable UriSchemeNews : string
Public Shared ReadOnly UriSchemeNews As String 

필드 값

예제

다음 예제에서는 Uri instance 만들고 스키마UriSchemeNews가 인지 여부를 확인합니다.

Uri^ address4 = gcnew Uri( "news:123456@contoso.com" );
if ( address4->Scheme == Uri::UriSchemeNews )
{
   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");
let address4 = Uri "news:123456@contoso.com"
if address4.Scheme = Uri.UriSchemeNews then
    printfn $"Uri is an Internet news group"
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

적용 대상