CorsPolicy.Origins Property

 

Gets the origins that are allowed to access the resource.

Namespace:   System.Web.Cors
Assembly:  System.Web.Cors (in System.Web.Cors.dll)

Syntax

public IList<string> Origins {
    [CompilerGeneratedAttribute]
    get;
    [CompilerGeneratedAttribute]
    private set;
}
public:
property IList<String^>^ Origins {
    [CompilerGeneratedAttribute]
    IList<String^>^ get();
    [CompilerGeneratedAttribute]
    private: void set(IList<String^>^ value);
}
member Origins : IList<string> with get, private set
Public Property Origins As IList(Of String)
    Get
    Private Set
End Property

Property Value

Type: System.Collections.Generic.IList<String>

See Also

CorsPolicy Class
System.Web.Cors Namespace

Return to top