共用方式為


DesignerDocDataService Constructors

Definition

Overloads

DesignerDocDataService(IServiceProvider, IVsHierarchy, UInt32, DocData)

Initializes a new instance of DesignerDocDataService.

DesignerDocDataService(IServiceProvider, IVsHierarchy, UInt32, Object)

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

DesignerDocDataService(IServiceProvider, IVsHierarchy, UInt32, DocData)

Initializes a new instance of DesignerDocDataService.

public:
 DesignerDocDataService(IServiceProvider ^ provider, Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ primaryHierarchy, System::UInt32 primaryItemId, Microsoft::VisualStudio::Shell::Design::Serialization::DocData ^ primaryDocData);
public DesignerDocDataService (IServiceProvider provider, Microsoft.VisualStudio.Shell.Interop.IVsHierarchy primaryHierarchy, uint primaryItemId, Microsoft.VisualStudio.Shell.Design.Serialization.DocData primaryDocData);
new Microsoft.VisualStudio.Shell.Design.Serialization.DesignerDocDataService : IServiceProvider * Microsoft.VisualStudio.Shell.Interop.IVsHierarchy * uint32 * Microsoft.VisualStudio.Shell.Design.Serialization.DocData -> Microsoft.VisualStudio.Shell.Design.Serialization.DesignerDocDataService
Public Sub New (provider As IServiceProvider, primaryHierarchy As IVsHierarchy, primaryItemId As UInteger, primaryDocData As DocData)

Parameters

primaryHierarchy
IVsHierarchy

The IVsHierarchy interface for the associated node in the project hierarchy.

primaryItemId
UInt32

The item ID for the primary node.

primaryDocData
DocData

The primary DocData object.

Applies to

DesignerDocDataService(IServiceProvider, IVsHierarchy, UInt32, Object)

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

public:
 DesignerDocDataService(IServiceProvider ^ provider, Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ primaryHierarchy, System::UInt32 primaryItemId, System::Object ^ primaryDocData);
public DesignerDocDataService (IServiceProvider provider, Microsoft.VisualStudio.Shell.Interop.IVsHierarchy primaryHierarchy, uint primaryItemId, object primaryDocData);
new Microsoft.VisualStudio.Shell.Design.Serialization.DesignerDocDataService : IServiceProvider * Microsoft.VisualStudio.Shell.Interop.IVsHierarchy * uint32 * obj -> Microsoft.VisualStudio.Shell.Design.Serialization.DesignerDocDataService
Public Sub New (provider As IServiceProvider, primaryHierarchy As IVsHierarchy, primaryItemId As UInteger, primaryDocData As Object)

Parameters

primaryHierarchy
IVsHierarchy

The IVsHierarchy interface for the associated node in the project hierarchy.

primaryItemId
UInt32

The item ID for the primary node.

primaryDocData
Object

The primary DocData object.

Applies to