Share via


EnableCorsAttribute.Origins Property

 

Gets the origins that are allowed to access the resource.

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

Syntax

public IList<string> Origins { get; }
public:
property IList<String^>^ Origins {
    IList<String^>^ get();
}
member Origins : IList<string> with get
Public ReadOnly Property Origins As IList(Of String)

Property Value

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

See Also

EnableCorsAttribute Class
System.Web.Http.Cors Namespace

Return to top