共用方式為


SharedProjectUtilities.GetSharedItemsImportFullPaths(IVsHierarchy) Method

Definition

Gets the full paths of the shared ".projitems" files imported by the given project.

public:
[System::Runtime::CompilerServices::Extension]
 static cli::array <System::String ^> ^ GetSharedItemsImportFullPaths(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ hierarchy);
public:
[System::Runtime::CompilerServices::Extension]
 static Platform::Array <Platform::String ^> ^ GetSharedItemsImportFullPaths(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ hierarchy);
public static string[] GetSharedItemsImportFullPaths (this Microsoft.VisualStudio.Shell.Interop.IVsHierarchy hierarchy);
static member GetSharedItemsImportFullPaths : Microsoft.VisualStudio.Shell.Interop.IVsHierarchy -> string[]
<Extension()>
Public Function GetSharedItemsImportFullPaths (hierarchy As IVsHierarchy) As String()

Parameters

hierarchy
IVsHierarchy

The project hierarchy.

Returns

String[]

A string array of full paths of ".projitems" files, or null if failed.

Applies to