CorsRule.AllowedOrigins Property

Windows Runtime Azure Storage Client Library

Gets or sets domain names allowed via CORS.

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

Usage

Visual Basic
Dim instance As CorsRule
Dim value As IList(Of String)

value = instance.AllowedOrigins

instance.AllowedOrigins = value

Syntax

Visual Basic
Public Property AllowedOrigins As IList(Of String)
C#
public IList<string> AllowedOrigins { get; set; }
C++
public:
property IList<String^>^ AllowedOrigins {
	IList<String^>^ get ();
	void set (IList<String^>^ value);
}
J#
/** @property */
public IList<String> get_AllowedOrigins ()

/** @property */
public void set_AllowedOrigins (IList<String> value)
JScript
public function get AllowedOrigins () : IList<String>

public function set AllowedOrigins (value : IList<String>)

Property Value

A collection of strings containing the allowed domain names, limited to 64.

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