AWS SDK for .NET Documentation
WithAllowedMethods Method (args)
AmazonAmazon.S3.ModelCORSRuleWithAllowedMethods(array<String>[]()[][]) Did this page help you?   Yes   No    Tell us about it...
Sets the methods allowed for this rule.
Declaration Syntax
C#
[ObsoleteAttribute("The With methods are obsolete and will be removed in version 2 of the AWS SDK for .NET. See http://aws.amazon.com/sdkfornet/#version2 for more information.")]
public CORSRule WithAllowedMethods(
	params string[] args
)
Parameters
args (array<String>[]()[][])
AllowedMethods property
Return Value
this instance
Remarks
Accepted methods are GET, PUT, HEAD, DELETE and POST. Each CORSRule must contain at least one AllowedMethod and one AllowedOrigin element.

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)