次の方法で共有


SharedProjectUtilities.IsSharedItem(IVsHierarchy, UInt32) Method

Definition

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.

Applies to