CorsRule.AllowedMethods Property

Windows Runtime Azure Storage Client Library

Gets or sets the HTTP methods permitted to execute for this origin.

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 CorsHttpMethods

value = instance.AllowedMethods

instance.AllowedMethods = value

Syntax

Visual Basic
Public Property AllowedMethods As CorsHttpMethods
C#
public CorsHttpMethods AllowedMethods { get; set; }
C++
public:
property CorsHttpMethods AllowedMethods {
	CorsHttpMethods get ();
	void set (CorsHttpMethods value);
}
J#
/** @property */
/** @attribute CompilerGeneratedAttribute() */ 
public CorsHttpMethods get_AllowedMethods ()

/** @property */
/** @attribute CompilerGeneratedAttribute() */ 
public void set_AllowedMethods (CorsHttpMethods value)
JScript
CompilerGeneratedAttribute 
public function get AllowedMethods () : CorsHttpMethods

CompilerGeneratedAttribute 
public function set AllowedMethods (value : CorsHttpMethods)

Property Value

The allowed HTTP methods.

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