共用方式為


CorsRule.AllowedOrigins Property

Definition

Gets or sets required if CorsRule element is present. A list of origin domains that will be allowed via CORS, or "*" to allow all domains

[Newtonsoft.Json.JsonProperty(PropertyName="allowedOrigins")]
public System.Collections.Generic.IList<string> AllowedOrigins { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="allowedOrigins")>]
member this.AllowedOrigins : System.Collections.Generic.IList<string> with get, set
Public Property AllowedOrigins As IList(Of String)

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Applies to