DocData Constructor
Initializes a new instance of the DocData class.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
'宣言
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.IServiceProvider
The service provider that is local to this class. This service provider retrieves Visual Studio selection services.
- editorId
Type: System.Guid
The 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.