Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This interface is used to build a collection of headers. Header collections are used in various interfaces to add more detail to OBEX transactions. This interface creates an empty header collection for a specific device, facilitating connection to a specific service.

For more information about the header types, see the OBEX specification at this Official IrDA Web site .

The following table shows the methods of this interface.

Method Description

IHeaderCollection::AddAppParams

Adds an AppParams header to the collection.

IHeaderCollection::AddBody

Adds a Body header to the collection.

IHeaderCollection::AddByte

Adds a raw Byte-type header.

IHeaderCollection::AddByteArray

Adds a raw ByteArray-type header.

IHeaderCollection::AddConnectionId

Adds a Connection Id header to the collection.

IHeaderCollection::AddCount

Adds a Count header to the collection.

IHeaderCollection::AddDescription

Adds a Description header to the collection.

IHeaderCollection::AddEndOfBody

Adds an EndOfBody header to the collection.

IHeaderCollection::AddHTTP

Adds an HTTP header to the collection.

IHeaderCollection::AddLength

adds a Length header to the collection.

IHeaderCollection::AddLong

Adds a raw Long-type header.

IHeaderCollection::AddName

Adds a Name header to the collection.

IHeaderCollection::AddObjectClass

Adds an ObjectClass header to the collection.

IHeaderCollection::AddTarget

Adds a Target header to the collection.

IHeaderCollection::AddTime

Adds a Time header to the collection.

IHeaderCollection::AddTimeOld

Adds an old-style Time header to the collection.

IHeaderCollection::AddType

Adds a Type header to the collection.

IHeaderCollection::AddUnicodeString

Adds a raw Unicode-string-type header.

IHeaderCollection::AddWho

Adds a Who header to the collection.

IHeaderCollection::EnumHeaders

Enumerates the headers in the collection.

IHeaderCollection::Remove

Removes a header from the collection.

IHeaderCollection::RemoveAll

Removes all headers from the collection.

Requirements

Header obex.h, obex.idl
Library uuid.lib
Windows Embedded CE Windows CE .NET 4.0 and later
Windows Mobile Pocket PC 2002 and later, Smartphone 2002 and later

See Also