ModelingPackage.CreateLocator Method
Creates a model element locator for the package.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll)
Syntax
'Declaration
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.