ModelElementLocator Constructor
constructor
This API is not CLS-compliant.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.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: System.IServiceProviderA service provider for this object to obtain VS services
.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.