Sets a response HTTP header value. Only applies to page content types.

[AttributeUsage]
public sealed class HttpHeaderAttribute: IContentTypeAttribute
Inheritance:
ObjectAttributeHttpHeaderAttribute
Implements:
IContentTypeAttribute

Constructors

HttpHeaderAttribute(string, string)

Properties

Key
Value

Methods

Apply(ContentTypeDefinition)