ElementOperations.GetElementGroupPrototype Method
Definition
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.
Gets the ElementGroupPrototype from the DataObject if it exists.
public:
static Microsoft::VisualStudio::Modeling::ElementGroupPrototype ^ GetElementGroupPrototype(IServiceProvider ^ serviceProvider, System::Windows::Forms::IDataObject ^ data);
public static Microsoft.VisualStudio.Modeling.ElementGroupPrototype GetElementGroupPrototype (IServiceProvider serviceProvider, System.Windows.Forms.IDataObject data);
static member GetElementGroupPrototype : IServiceProvider * System.Windows.Forms.IDataObject -> Microsoft.VisualStudio.Modeling.ElementGroupPrototype
Public Shared Function GetElementGroupPrototype (serviceProvider As IServiceProvider, data As IDataObject) As ElementGroupPrototype
Parameters
- serviceProvider
- IServiceProvider
The service provider to use for retrieving the IToolboxService.
- data
- IDataObject
The IDataObject to retrieve the ElementGroupPrototype from.
Returns
The ElementGroupPrototype from the DataObject.
Remarks
The data format name is assumed to be ElementGroupPrototype.DefaultDataFormatName.