ModelElementLocator Constructor
constructor
This API is not CLS-compliant.
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
<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.IServiceProvider
A 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.