[#BloombergLP-bdlm-MetricsRegistryRegistrationHandle-swap] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlm.adoc[bdlm]::xref:BloombergLP/bdlm/MetricsRegistryRegistrationHandle.adoc[MetricsRegistryRegistrationHandle]::swap :relfileprefix: ../../../ :mrdocs: Exchange the associated metric collection callback registration with the one controlled by the specified `other` handle. == Synopsis Declared in `<bdlm_metricsregistry.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void swap(xref:BloombergLP/bdlm/MetricsRegistryRegistrationHandle.adoc[MetricsRegistryRegistrationHandle]& other) noexcept; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#