Package.GetToolboxItemDataAsync(String, DataFormats+Format) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
C++
protected:
virtual System::Threading::Tasks::Task<System::Object ^> ^ GetToolboxItemDataAsync(System::String ^ itemId, System::Windows::Forms::DataFormats::Format ^ format);
protected virtual System.Threading.Tasks.Task<object> GetToolboxItemDataAsync(string itemId, System.Windows.Forms.DataFormats.Format format);
abstract member GetToolboxItemDataAsync : string * System.Windows.Forms.DataFormats.Format -> System.Threading.Tasks.Task<obj>
override this.GetToolboxItemDataAsync : string * System.Windows.Forms.DataFormats.Format -> System.Threading.Tasks.Task<obj>
Protected Overridable Function GetToolboxItemDataAsync (itemId As String, format As DataFormats.Format) As Task(Of Object)
- itemId
- String
- format
- DataFormats.Format
Product | Versions |
---|---|
Visual Studio SDK | 2017, 2019, 2022 |