ModelingDocData Constructor
Initializes a new instance of the ModelingDocData class.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
'Déclaration
Protected Sub New ( _
serviceProvider As IServiceProvider, _
editorId As Guid _
)
protected ModelingDocData(
IServiceProvider serviceProvider,
Guid editorId
)
protected:
ModelingDocData(
IServiceProvider^ serviceProvider,
Guid editorId
)
new :
serviceProvider:IServiceProvider *
editorId:Guid -> ModelingDocData
protected function ModelingDocData(
serviceProvider : IServiceProvider,
editorId : Guid
)
Parameters
- serviceProvider
Type: System.IServiceProvider
The service provider that retrieves Visual Studio services.
- editorId
Type: System.Guid
The GUID of the editor factory that created the document.
.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.