Contains OBEX protocol headers associated with a request or response.
For a list of all members of this type, see ObexHeaderCollection Members.
System.Object
Brecham.Obex.ObexHeaderCollection
Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
Like WebHeaderCollection, but for OBEX rather than HTTP. OBEX headers have a one byte Header ID, and a value which is of one of four type: Unicode string, Byte sequence, a One byte value, and a four byte value. The Header IDs includes the type as its top two bits. Thus the collection is type-strict; on adding or accessing the collection it is an error if the value given does not match the type specified by the header id. The collection only allows one header of each Header ID, and maintains order so that the order that the headers are present in the PDU is maintained. As well as Add, Get, and the removal of entries, the collection supports enumeration of the Header IDs. It is safe to continue using the enumerator even if Remove has been called meanwhile; all the IDs that were present at enumerator creation will be returned by it.
Namespace: Brecham.Obex
Assembly: Brecham.Obex (in Brecham.Obex.dll)
ObexHeaderCollection Members | Brecham.Obex Namespace