Previous page

Next page

Locate page in Contents

Print this page

Elements with no Content

Some of the elements in the Agent protocol are used as flags. These are simple elements that have no type and never contain any data. In XML, you either include the element in a packet like this <some_element/>, or you simply omit it.

In C#, when passing an object of this kind to a method, you have to create it as an empty object like this:

some_element myObject = new Object();

Please send us your feedback on this help page