Brecham.Obex — An OBEX library for the .NET Framework

ObexHeaderCollection Methods

The methods of the ObexHeaderCollection class are listed below. For a complete list of ObexHeaderCollection class members, see the ObexHeaderCollection Members topic.

Public Static (Shared) Methods

IsByteSeqType Gets whether the given Header ID represents a Byte Sequence type.
IsFourByteType Gets whether the given Header ID represents a Four-byte type.
IsNumericType Gets whether the given Header ID represents a numeric type.
IsOneByteType Gets whether the given Header ID represents a One-byte type.
IsUnicodeType Gets whether the given Header ID represents a Unicode type.

Public Instance Methods

AddOverloaded. Adds a header to the collection.
AddType Add a Type header, converting the string value to the correct format for the Type header.
AppendSkippingAnyDuplicates Copies the headers in the specified ObexHeaderCollection to the current ObexHeaderCollection.
Clear Removes all items from the collection.
Contains Determines whether the collection contains a specific header.
Dump Create a diagnostic 'dump' of the contents of the header collection.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetByteSeq Gets the value of the Byte Sequence header in the collection with the given header id.
GetEnumerator Returns an enumerator that iterates through a collection.
GetFourByteAsSigned Gets the value of the Four-byte header in the collection with the given header id, as a signed value.
GetFourByteAsUnsigned Gets the value of the Four-byte header in the collection with the given header id, as an unsigned value.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetOneByte Gets the value of the One-byte header in the collection with the given header id.
GetString Gets the value of the Unicode String header in the collection with the given header id.
GetType (inherited from Object)Gets the Type of the current instance.
PrependOverloaded. Inserts a header of integral type to the front of the collection.
Remove Removes the specified header from the collection.
ToString (inherited from Object)Returns a String that represents the current Object.

See Also

ObexHeaderCollection Class | Brecham.Obex Namespace