Delen via


ShellUtility Class

Utility methods for searching solutions and the RDT.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Modeling.Shell.ShellUtility

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)

Syntax

'Declaration
Public NotInheritable Class ShellUtility
public sealed class ShellUtility
public ref class ShellUtility sealed
[<Sealed>]
type ShellUtility =  class end
public final class ShellUtility

The ShellUtility type exposes the following members.

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodStatic member FindFilesInSolution(IList<String>, IServiceProvider, Boolean) Find files of a given extension in the current solution.
Public methodStatic member FindFilesInSolution(String, IServiceProvider, Boolean) Find files of a given extension in the current solution.
Public methodStatic member FindFilesInSolution(IncludeInResultsCallback, IServiceProvider, Boolean) Find files of a given extension in the current solution.
Public methodStatic member FindOpenedFiles(IList<String>, IServiceProvider) Finds opened files in the solution that end in one of the given file extensions
Public methodStatic member FindOpenedFiles(String, IServiceProvider) Finds opened files in the solution that end in the given file extension.
Public methodStatic member FindOpenedFiles(IncludeInResultsCallback, IServiceProvider) Finds opened files in the solution that match according to the given callback.
Public methodStatic member FindProjectsInSolution Find the list of projects in the current solution.
Public methodStatic member GetAvailableTypeFullNames For the given rootElement, this method returns types (in short name form) in the current project where the DocData of this rootElement resides.
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public methodStatic member IsVirtualFolder Is Virtual Folder.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Fields

  Name Description
Public fieldStatic member VirtualFolderItemType Solution Folder Project Type Guid.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.Modeling.Shell Namespace