ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Core Namespace / IContentsPaneClipboardOps2 Interface / CopyPathAsync Method

CopyPathAsync Method (IContentsPaneClipboardOps2)
Copy the path to the clipboard
Syntax
Task<string> CopyPathAsync()

Return Value

Task
Remarks
Your pane is responsible for determining the context
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

ArcGIS Pro version: 2.5 or higher.
See Also