Share via


ModelingPackage.CreateLocator Method

Creates a model element locator for the package.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell (in Microsoft.VisualStudio.Modeling.Sdk.Shell.dll)

Syntax

'Declaration
Protected Overridable Function CreateLocator As ModelElementLocator
'Usage
Dim returnValue As ModelElementLocator 

returnValue = Me.CreateLocator()
protected virtual ModelElementLocator CreateLocator()
protected:
virtual ModelElementLocator^ CreateLocator()
protected function CreateLocator() : ModelElementLocator

Return Value

Type: Microsoft.VisualStudio.Modeling.Shell.ModelElementLocator
The model element locator.

Remarks

Derived classes can override this method to provide their own model element locators.

.NET Framework Security

See Also

Reference

ModelingPackage Class

ModelingPackage Members

Microsoft.VisualStudio.Modeling.Shell Namespace