Freigeben über


SharedProjectUtilities.IsProjectImportingSharedAssets(IVsHierarchy) Method

Definition

Is the given project importing shared assets?

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

Parameters

hierarchy
IVsHierarchy

The project hierarchy.

Returns

true if the given project is importing shared assets; otherwise, false.

Remarks

Shared Project also imports shared assets, so this method would return true for a Shared Project as well. Please use IsSharedAssetsProject(IVsHierarchy) to identify Shared Projects. This method is used to identify the projects that are importing shared assets.

Applies to