DocData Constructor

Initializes a new instance of the DocData class.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell (in Microsoft.VisualStudio.Modeling.Sdk.Shell.dll)

Syntax

'宣言
Protected Sub New ( _
    serviceProvider As IServiceProvider, _
    editorId As Guid _
)
'使用
Dim serviceProvider As IServiceProvider
Dim editorId As Guid

Dim instance As New DocData(serviceProvider, _
    editorId)
protected DocData(
    IServiceProvider serviceProvider,
    Guid editorId
)
protected:
DocData(
    IServiceProvider^ serviceProvider, 
    Guid editorId
)
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.

Permissions

See Also

Reference

DocData Class

DocData Members

Microsoft.VisualStudio.Modeling.Shell Namespace