CorsRule.ExposedHeaders Property

Windows Runtime Azure Storage Client Library

Gets or sets response headers that should be exposed to client 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.ExposedHeaders

instance.ExposedHeaders = value

Syntax

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

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

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

Property Value

A collection of strings containing exposed 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