[#wallet-CCoinControl-GetSelectionPos] = xref:wallet.adoc[wallet]::xref:wallet/CCoinControl.adoc[CCoinControl]::GetSelectionPos :relfileprefix: ../../ :mrdocs: Returns the selection order position stored for the given pre‐selected output, if any. == Synopsis Declared in `<wallet/coincontrol.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::optional<unsigned int> GetSelectionPos(xref:COutPoint.adoc[COutPoint] const& outpoint) const; ---- == Return Value The stored selection order position, or nullopt if none is set. == Parameters [cols="1,4"] |=== | Name| Description | *outpoint* | The pre‐selected output to look up. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#