CorsProperties.CorsRules Property

Windows Runtime Azure Storage Client Library

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

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also