Compartilhar via


ModelingPackage.CreateLocator Method

Creates a model element locator for the package.

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

Syntax

'Declaração
Protected Overridable Function CreateLocator As ModelElementLocator
protected virtual ModelElementLocator CreateLocator()
protected:
virtual ModelElementLocator^ CreateLocator()
abstract CreateLocator : unit -> ModelElementLocator 
override CreateLocator : unit -> ModelElementLocator 
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

Microsoft.VisualStudio.Modeling.Shell Namespace