Gets or sets CORS rules. The order of the list corresponds to precedence of rules.
Namespace: Microsoft.WindowsAzure.Storage.Shared.Protocol
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Usage
Visual Basic |
---|
Dim instance As CorsProperties
Dim value As IList(Of CorsRule)
value = instance.CorsRules
|
Syntax
Visual Basic |
---|
Public Property CorsRules As IList(Of CorsRule) |
C# |
---|
public IList<CorsRule> CorsRules { get; } |
C++ |
---|
public:
property IList<CorsRule^>^ CorsRules {
IList<CorsRule^>^ get ();
} |
J# |
---|
/** @property */
/** @attribute CompilerGeneratedAttribute() */
public IList<CorsRule> get_CorsRules ()
|
JScript |
---|
CompilerGeneratedAttribute
public function get CorsRules () : IList<CorsRule>
|
Property Value
A collection containing CORS rules, limited to 5.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
See Also