Dela via


HostAttribute.Hosts Property

Definition

Returns a read-only collection of hosts used during routing. Hosts will be Unicode rather than punycode, and may have a port. An empty collection means any host will be accepted.

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)

Property Value

Implements

Applies to