ElementOperations::GetElementGroupPrototype Method (IServiceProvider^, IDataObject^)
Visual Studio 2015
Gets the ElementGroupPrototype from the DataObject if it exists.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
public: static ElementGroupPrototype^ GetElementGroupPrototype( 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 ElementGroupPrototype from.
Return Value
Type: Microsoft.VisualStudio.Modeling::ElementGroupPrototype^The ElementGroupPrototype from the DataObject.
The data format name is assumed to be ElementGroupPrototype.DefaultDataFormatName.
Show: