ElementOperations::GetModelingToolboxItemDisplayName Method (IServiceProvider^, IDataObject^)
Visual Studio 2015
If the IDataObject contains a ModelingToolboxItem, this returns its DisplayName, otherwise null.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
protected: static String^ GetModelingToolboxItemDisplayName( IServiceProvider^ serviceProvider, IDataObject^ data )
Parameters
- serviceProvider
-
Type:
System::IServiceProvider^
The service provider to use for retrieving the IToolboxService.
- data
-
Type:
System.Windows.Forms::IDataObject^
The IDataObject to retrieve the ModelingToolboxItem data from.
Show: