Uri.UriSchemeNews Campo
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Especifica que el identificador URI es un grupo de noticias de Internet accesible a través de NNTP (Protocolo de transferencia de noticias en red). Este campo es de solo lectura.
public: static initonly System::String ^ UriSchemeNews;
public static readonly string UriSchemeNews;
staticval mutable UriSchemeNews : string
Public Shared ReadOnly UriSchemeNews As String
En el ejemplo siguiente se crea una Uri instancia de y se determina si el esquema es 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
Producto | Versiones |
---|---|
.NET | Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |
Comentarios de .NET
.NET es un proyecto de código abierto. Seleccione un vínculo para proporcionar comentarios: