XPQueryExtensions.SingleAsync Method
Name | Parameters | Description |
---|---|---|
Single |
query, predicate, cancellation |
Asynchronously gets the object from a selection if only one object in the selection meets the specified requirements. Otherwise, throws an exception. |
Single |
query, cancellation |
Asynchronously gets the object from a selection if this selection has only one object. Otherwise, throws an exception. |