AWS SDK Version 2 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.

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

Namespace: Amazon.CloudFront.Util
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public NameValueCollection CreateHeaderEntry(
         String key,
         String value
)

Parameters

key
Type: System.String

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

value
Type: System.String

The value of the key being added

Return Value
Type: System.Collections.Specialized.NameValueCollection
A NameValueCollection with just one key-value pair

Version Information

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