CorsRule.AllowedHeaders Property

Windows Runtime Azure Storage Client Library

Gets or sets headers allowed to be part of the CORS request.

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.AllowedHeaders

instance.AllowedHeaders = value

Syntax

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

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

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

Property Value

A collection of strings containing allowed headers, limited to 64 defined headers and two prefixed headers.

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