Share via


IHeaderCollection:IUnknown (Windows CE 5.0)

Send Feedback

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
AddAppParams Adds an AppParams header to the collection.
AddBody Adds a Body header to the collection.
AddByte Adds a raw Byte-type header.
AddByteArray Adds a raw ByteArray-type header.
AddConnectionId Adds a Connection Id header to the collection.
AddCount Adds a Count header to the collection.
AddDescription Adds a Description header to the collection.
AddEndOfBody Adds an EndOfBody header to the collection.
AddHTTP Adds an HTTP header to the collection.
AddLength adds a Length header to the collection.
AddLong Adds a raw Long-type header.
AddName Adds a Name header to the collection.
AddObjectClass Adds an ObjectClass header to the collection.
AddTarget Adds a Target header to the collection.
AddTime Adds a Time header to the collection.
AddTimeOld Adds an old-style Time header to the collection.
AddType Adds a Type header to the collection.
AddUnicodeString Adds a raw Unicode-string-type header.
AddWho Adds a Who header to the collection.
EnumHeaders Enumerates the headers in the collection.
Remove Removes a header from the collection.
RemoveAll Removes all headers from the collection.

Requirements

Smartphone: Smartphone 2002 and later

Pocket PC: Pocket PC 2002 and later

OS Versions: Windows CE .NET 4.0 and later.

Header: Obex.h, Obex.idl.

Link Library: Uuid.lib.

See Also

IDeviceEnum | IHeaderEnum | IObex | IObexDevice | IObexSink | OBEX Interfaces

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.