共用方式為


ShellUtility Class

Definition

Utility methods for searching solutions and the RDT.

public ref class ShellUtility sealed
public sealed class ShellUtility
type ShellUtility = class
Public NotInheritable Class ShellUtility
Inheritance
ShellUtility

Fields

VirtualFolderItemType

Solution Folder Project Type Guid.

Methods

FindFilesInSolution(IList<String>, IServiceProvider, Boolean)

Find files of a given extension in the current solution.

FindFilesInSolution(IncludeInResultsCallback, IServiceProvider, Boolean)

Find files of a given extension in the current solution.

FindFilesInSolution(String, IServiceProvider, Boolean)

Find files of a given extension in the current solution.

FindOpenedFiles(IList<String>, IServiceProvider)

Finds opened files in the solution that end in one of the given file extensions

FindOpenedFiles(IncludeInResultsCallback, IServiceProvider)

Finds opened files in the solution that match according to the given callback.

FindOpenedFiles(String, IServiceProvider)

Finds opened files in the solution that end in the given file extension.

FindProjectsInSolution(IVsSolution)

Find the list of projects in the current solution.

GetAvailableTypeFullNames(ModelElement, Boolean)

For the given rootElement, this method returns types (in short name form) in the current project where the DocData of this rootElement resides.

IsVirtualFolder(IVsHierarchy)

Is Virtual Folder.

Applies to