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
‘선언
Public Sub New ( _
provider As IServiceProvider, _
primaryHierarchy As IVsHierarchy, _
primaryItemId As UInteger, _
primaryDocData As Object _
)
public DesignerDocDataService(
IServiceProvider provider,
IVsHierarchy primaryHierarchy,
uint primaryItemId,
Object primaryDocData
)
Parameters
- provider
Type: System.IServiceProvider
IServiceProvider .
- primaryHierarchy
Type: Microsoft.VisualStudio.Shell.Interop.IVsHierarchy
The IVsHierarchy interface for the associated node in the project hierarchy.
- primaryItemId
Type: System.UInt32
The item ID for the primary node.
- primaryDocData
Type: System.Object
The primary DocData object.
Remarks
The primaryDocData object becomes the parent document data object through which all other document data objects derive.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.