RouteMatch.Hosts Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Only match requests with the given Host header. Supports wildcards and ports. For unicode host names, do not use punycode.
public System.Collections.Generic.IReadOnlyList<string>? Hosts { get; init; }
member this.Hosts : System.Collections.Generic.IReadOnlyList<string> with get, set
Public Property Hosts As IReadOnlyList(Of String)