CorsResult.VaryByOrigin 属性

定义

获取或设置一个值,该值指示是否需要值为“Origin”的“Vary”标头。

public:
 property bool VaryByOrigin { bool get(); void set(bool value); };
public bool VaryByOrigin { get; set; }
member this.VaryByOrigin : bool with get, set
Public Property VaryByOrigin As Boolean

属性值

适用于