ElementOperations::GetModelingToolboxItemDisplayName Method (IServiceProvider^, IDataObject^)

 

If the IDataObject contains a ModelingToolboxItem, this returns its DisplayName, otherwise null.

Namespace:   Microsoft.VisualStudio.Modeling
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.

Return Value

Type: System::String^

A ModelingToolboxItem.DisplayName if it exists, otherwise null.

Return to top
Show: