Partager via


DesignerDocDataService Constructor (IServiceProvider, IVsHierarchy, UInt32, Object)

Initializes a new instance of DesignerDocDataService for the specified node and document data.

Namespace:  Microsoft.VisualStudio.Shell.Design.Serialization
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

Syntax

'Déclaration
Public Sub New ( _
    provider As IServiceProvider, _
    primaryHierarchy As IVsHierarchy, _
    primaryItemId As UInteger, _
    primaryDocData As Object _
)
'Utilisation
Dim provider As IServiceProvider
Dim primaryHierarchy As IVsHierarchy
Dim primaryItemId As UInteger
Dim primaryDocData As Object

Dim instance As New DesignerDocDataService(provider, _
    primaryHierarchy, primaryItemId, _
    primaryDocData)
public DesignerDocDataService(
    IServiceProvider provider,
    IVsHierarchy primaryHierarchy,
    uint primaryItemId,
    Object primaryDocData
)
public:
DesignerDocDataService(
    IServiceProvider^ provider, 
    IVsHierarchy^ primaryHierarchy, 
    unsigned int primaryItemId, 
    Object^ primaryDocData
)
new : 
        provider:IServiceProvider * 
        primaryHierarchy:IVsHierarchy * 
        primaryItemId:uint32 * 
        primaryDocData:Object -> DesignerDocDataService
public function DesignerDocDataService(
    provider : IServiceProvider, 
    primaryHierarchy : IVsHierarchy, 
    primaryItemId : uint, 
    primaryDocData : Object
)

Parameters

  • primaryItemId
    Type: System.UInt32
    The item ID for the primary node.

Remarks

The primaryDocData object becomes the parent document data object through which all other document data objects derive.

.NET Framework Security

See Also

Reference

DesignerDocDataService Class

DesignerDocDataService Members

DesignerDocDataService Overload

Microsoft.VisualStudio.Shell.Design.Serialization Namespace