Compartir a través de


HostAttribute.Hosts Propiedad

Definición

Devuelve una colección de solo lectura de hosts usados durante el enrutamiento. Los hosts serán Unicode en lugar de punycode y pueden tener un puerto. Una colección vacía significa que se aceptará cualquier host.

public:
 property System::Collections::Generic::IReadOnlyList<System::String ^> ^ Hosts { System::Collections::Generic::IReadOnlyList<System::String ^> ^ get(); };
public System.Collections.Generic.IReadOnlyList<string> Hosts { get; }
member this.Hosts : System.Collections.Generic.IReadOnlyList<string>
Public ReadOnly Property Hosts As IReadOnlyList(Of String)

Valor de propiedad

Implementaciones

Se aplica a