Partager via


HostAttribute.Hosts Propriété

Définition

Retourne une collection d’hôtes en lecture seule utilisée pendant le routage. Les hôtes seront Unicode plutôt que punycode et peuvent avoir un port. Une collection vide signifie que tout hôte est accepté.

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)

Valeur de propriété

Implémente

S’applique à