Dela via


CorsResult.IsOriginAllowed Property

Definition

Gets or sets a value that determines if the origin is allowed. When false, no CORS headers should be sent.

public:
 property bool IsOriginAllowed { bool get(); void set(bool value); };
public bool IsOriginAllowed { get; set; }
member this.IsOriginAllowed : bool with get, set
Public Property IsOriginAllowed As Boolean

Property Value

Applies to