Compartir a través de


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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)

Syntax

'Declaración
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.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (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 a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public methodStatic member IsVirtualFolder Is Virtual Folder.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
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