Share via


DocData Constructor

Initializes a new instance of the DocData class.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.11.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: IServiceProvider

    The service provider that is local to this class. This service provider retrieves Visual Studio selection services.

  • editorId
    Type: Guid

    The ID of the editor factory to use.

Remarks

The editor factory implements GetGuidEditorType.

.NET Framework Security

See Also

Reference

DocData Class

Microsoft.VisualStudio.Modeling.Shell Namespace