AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Builds and returns the name value collection that can be added to the HTTP headers for the request

Namespace: Amazon.CloudFront.Util
Assembly: AWSSDK.CloudFront.dll
Version: 3.x.y.z


public NameValueCollection CreateHeaderEntry(
         String key,
         String value
Type: System.String

The key to be added to the headers (eg. Content-Body)

Type: System.String

The value of the key being added

Return Value
A NameValueCollection with just one key-value pair

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5