Share via


ModelElementLocator Constructor

constructor

This API is not CLS-compliant. 

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

Syntax

'Declaration
<CLSCompliantAttribute(False)> _
Public Sub New ( _
    serviceProvider As IServiceProvider _
)
[CLSCompliantAttribute(false)]
public ModelElementLocator(
    IServiceProvider serviceProvider
)
[CLSCompliantAttribute(false)]
public:
ModelElementLocator(
    IServiceProvider^ serviceProvider
)
[<CLSCompliantAttribute(false)>]
new : 
        serviceProvider:IServiceProvider -> ModelElementLocator
public function ModelElementLocator(
    serviceProvider : IServiceProvider
)

Parameters

  • serviceProvider
    Type: IServiceProvider

    A service provider for this object to obtain VS services

.NET Framework Security

See Also

Reference

ModelElementLocator Class

Microsoft.VisualStudio.Modeling.Shell Namespace