DocData.SetHierarchyInfo Method

Initializes or changes the project hierarchy for the document.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)

Syntax

'Declaration
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

  • 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

See Also

Reference

DocData Class

Microsoft.VisualStudio.Modeling.Shell Namespace