Click or drag to resize
SetBucketCorsRequest Class
设置存储空间的跨域资源共享的请求
Inheritance Hierarchy
SystemObject
  Aliyun.OSSSetBucketCorsRequest

Namespace: Aliyun.OSS
Assembly: Aliyun.OSS (in Aliyun.OSS.dll) Version: 2.5.1.0 (2.5.1)
Syntax
public class SetBucketCorsRequest

The SetBucketCorsRequest type exposes the following members.

Constructors
  NameDescription
Public methodSetBucketCorsRequest
构造一个新的SetBucketCorsRequest实例。
Top
Methods
  NameDescription
Public methodAddCORSRule
添加一条CORSRule。
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
Properties
  NameDescription
Public propertyBucketName
获取OssObject所在Bucket的名称。
Public propertyCORSRules
CORS规则的容器,每个bucket最多允许10条规则。
Top
See Also