Reads the next folder-listing item, as an instance of either ObexFileItem, ObexFolderItem, or ObexParentFolderItem, which are all subclasses of ObexFolderListingItem.
An instance of the respective subclass of ObexFolderListingItem holding the item's data. Returns null (/Nothing) when the end of the folder-listing document has been reached. If called again after that it throws the exception listed below.
| Exception Type | Condition |
|---|---|
| InvalidOperationException | All the items have already been read by previous calls. |
| XmlException | An error occurred while parsing the XML. |
| XmlSchemaException | An error occurred while parsing the XML. |
| NotSupportedException | On the Compact Framework (NETCF) this occurs when the XML document contains a DOCTYPE element. See the Programmer's Guide and the StripDocType property for more information. |
ObexFolderListingParser Class | Brecham.Obex.Objects Namespace