ServiceProperties.Cors Property

Windows Runtime Azure Storage Client Library

Gets or sets the Cross Origin Resource Sharing (CORS) properties.

Namespace: Microsoft.WindowsAzure.Storage.Shared.Protocol
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)

Usage

Visual Basic
Dim instance As ServiceProperties
Dim value As CorsProperties

value = instance.Cors

instance.Cors = value

Syntax

Visual Basic
Public Property Cors As CorsProperties
C#
public CorsProperties Cors { get; set; }
C++
public:
property CorsProperties^ Cors {
	CorsProperties^ get ();
	void set (CorsProperties^ value);
}
J#
/** @property */
/** @attribute CompilerGeneratedAttribute() */ 
public CorsProperties get_Cors ()

/** @property */
/** @attribute CompilerGeneratedAttribute() */ 
public void set_Cors (CorsProperties value)
JScript
CompilerGeneratedAttribute 
public function get Cors () : CorsProperties

CompilerGeneratedAttribute 
public function set Cors (value : CorsProperties)

Property Value

The CORS properties.

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