SharedProjectUtilities::IsSharedItem Method (IVsHierarchy^, UInt32)

Visual Studio 2015
 

Determines whether the given item is a shared item.

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

public:
static bool IsSharedItem(
	IVsHierarchy^ hierarchy,
	unsigned int itemId
)

Parameters

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

The project hierarchy.

itemId
Type: System::UInt32

The item ID.

Return Value

Type: System::Boolean

True if the given item is a shared item; otherwise, false.

Return to top
Show: