Partager via


IHeaderCollection:IUnknown

A version of this page is also available for

Windows Embedded CE 6.0 R3

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

Reference

IDeviceEnum:IUnknown
IHeaderEnum:IUnknown
IObexSink:IUnknown
IObexDevice:IUnknown
IObexSink:IUnknown
OBEX Interfaces