DocData.SetHierarchyInfo Method
Initializes or changes the project hierarchy for the document.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
'Declaração
Protected Sub SetHierarchyInfo ( _
hierarchy As IVsHierarchy, _
itemId As UInteger _
)
protected void SetHierarchyInfo(
IVsHierarchy hierarchy,
uint itemId
)
protected:
void SetHierarchyInfo(
IVsHierarchy^ hierarchy,
unsigned int itemId
)
member SetHierarchyInfo :
hierarchy:IVsHierarchy *
itemId:uint32 -> unit
protected function SetHierarchyInfo(
hierarchy : IVsHierarchy,
itemId : uint
)
Parameters
- hierarchy
Type: Microsoft.VisualStudio.Shell.Interop.IVsHierarchy
The new project hierarchy.
- itemId
Type: System.UInt32
The Item ID that is assigned to the document in the project hierarchy.
Remarks
This class implements the IVsHierarchy interface and the IVsPersistDocData2 interface.
.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.