Condividi tramite


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.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

See Also

Reference

DocData Class

Microsoft.VisualStudio.Modeling.Shell Namespace