DocData Constructor
Initializes a new instance of the DocData class.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)
Syntax
'Declaration
Protected Sub New ( _
serviceProvider As IServiceProvider, _
editorId As Guid _
)
protected DocData(
IServiceProvider serviceProvider,
Guid editorId
)
protected:
DocData(
IServiceProvider^ serviceProvider,
Guid editorId
)
new :
serviceProvider:IServiceProvider *
editorId:Guid -> DocData
protected function DocData(
serviceProvider : IServiceProvider,
editorId : Guid
)
Parameters
serviceProvider
Type: System.IServiceProviderThe service provider that is local to this class. This service provider retrieves Visual Studio selection services.
editorId
Type: System.GuidThe ID of the editor factory to use.
Remarks
The editor factory implements GetGuidEditorType.
.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.