XPQueryExtensions.FirstOrDefaultAsync Method
Name | Parameters | Description |
---|---|---|
First |
query, predicate, cancellation |
Asynchronously gets the first object that meets specified requirements in a selection. If the selection is empty, returns a default value for <T>. |
First |
query, cancellation |
Asynchronously gets the first object in a selection. If the selection is empty, returns a default value for <T>. |