SharedProjectUtilities.IsSharedItem(IVsHierarchy, UInt32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Is the given item a shared item?
public:
static bool IsSharedItem(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ hierarchy, System::UInt32 itemId);
public:
static bool IsSharedItem(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ hierarchy, unsigned int itemId);
static bool IsSharedItem(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy const & hierarchy, unsigned int itemId);
public static bool IsSharedItem (Microsoft.VisualStudio.Shell.Interop.IVsHierarchy hierarchy, uint itemId);
static member IsSharedItem : Microsoft.VisualStudio.Shell.Interop.IVsHierarchy * uint32 -> bool
Public Function IsSharedItem (hierarchy As IVsHierarchy, itemId As UInteger) As Boolean
Parameters
- hierarchy
- IVsHierarchy
The project hierarchy.
- itemId
- UInt32
The item id.
Returns
true
if the given item is a shared item; otherwise, false
.