共用方式為


SharedProjectUtilities.IsSharedAssetsProject(IVsHierarchy) Method

Definition

Is the given project a Shared Project?

public:
[System::Runtime::CompilerServices::Extension]
 static bool IsSharedAssetsProject(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ hierarchy);
public:
[System::Runtime::CompilerServices::Extension]
 static bool IsSharedAssetsProject(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ hierarchy);
public static bool IsSharedAssetsProject (this Microsoft.VisualStudio.Shell.Interop.IVsHierarchy hierarchy);
static member IsSharedAssetsProject : Microsoft.VisualStudio.Shell.Interop.IVsHierarchy -> bool
<Extension()>
Public Function IsSharedAssetsProject (hierarchy As IVsHierarchy) As Boolean

Parameters

hierarchy
IVsHierarchy

The project hierarchy.

Returns

true if the given project is a Shared Project; otherwise, false.

Applies to