Share via


SubordinateFileHelper Class

Helper methods for managing subordinate files (files that appear nested within project items in the solution explorer).

Inheritance Hierarchy

Object
  Microsoft.VisualStudio.Modeling.Shell.SubordinateFileHelper

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

Syntax

'Declaration
Public NotInheritable Class SubordinateFileHelper
public static class SubordinateFileHelper
public ref class SubordinateFileHelper abstract sealed
[<AbstractClass>]
[<Sealed>]
type SubordinateFileHelper =  class end
public final class SubordinateFileHelper

The SubordinateFileHelper type exposes the following members.

Methods

  Name Description
Public methodStatic member GetChildProjectItemFileNames Gets a list of file names of all subordinate files.
Public methodStatic member GetChildProjectItemId Gets the item id of the first subordinate file with the given extension.
Public methodStatic member GetChildProjectItemIds Gets the item ids of all subordinate files.
Public methodStatic member LockSubordinateDocument(IServiceProvider, DocData, UInt32) Creates and returns an invisible editor for the given file.
Public methodStatic member LockSubordinateDocument(IServiceProvider, DocData, String, UInt32) Creates and returns an invisible editor for the given file.

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