DesignerDocDataService Constructor (IServiceProvider, IVsHierarchy, UInt32, DocData)
Initializes a new instance of DesignerDocDataService.
Namespace: Microsoft.VisualStudio.Shell.Design.Serialization
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
Syntax
'Dichiarazione
Public Sub New ( _
provider As IServiceProvider, _
primaryHierarchy As IVsHierarchy, _
primaryItemId As UInteger, _
primaryDocData As DocData _
)
'Utilizzo
Dim provider As IServiceProvider
Dim primaryHierarchy As IVsHierarchy
Dim primaryItemId As UInteger
Dim primaryDocData As DocData
Dim instance As New DesignerDocDataService(provider, _
primaryHierarchy, primaryItemId, _
primaryDocData)
public DesignerDocDataService(
IServiceProvider provider,
IVsHierarchy primaryHierarchy,
uint primaryItemId,
DocData primaryDocData
)
public:
DesignerDocDataService(
IServiceProvider^ provider,
IVsHierarchy^ primaryHierarchy,
unsigned int primaryItemId,
DocData^ primaryDocData
)
new :
provider:IServiceProvider *
primaryHierarchy:IVsHierarchy *
primaryItemId:uint32 *
primaryDocData:DocData -> DesignerDocDataService
public function DesignerDocDataService(
provider : IServiceProvider,
primaryHierarchy : IVsHierarchy,
primaryItemId : uint,
primaryDocData : DocData
)
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: Microsoft.VisualStudio.Shell.Design.Serialization.DocData
The primary DocData object.
Remarks
primaryDocData becomes the parent DocData from 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.
See Also
Reference
DesignerDocDataService Members