SharedProjectUtilities::SetHierarchyProperty Method (IVsHierarchy^, UInt32, Int32, Object^)

Visual Studio 2015
 

Sets the hierarchy property, and also sets the property on the shared item in the Shared Assets Project hierarchy.

Namespace:   Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

public:
static int SetHierarchyProperty(
	IVsHierarchy^ hierarchy,
	unsigned int itemId,
	int propId,
	Object^ value
)

Parameters

hierarchy
Type: Microsoft.VisualStudio.Shell.Interop::IVsHierarchy^

The project hierarchy.

itemId
Type: System::UInt32

The item id.

propId
Type: System::Int32

The property id

value
Type: System::Object^

The property value.

Return Value

Type: System::Int32

The HRESULT.

In the case of shared items, this method sets the property on the item in the Shared Assets Project.

Return to top
Show: