Share via


SourceControl.ExcludeItems Method

Excludes the specified items from the specified project.

Namespace:  EnvDTE
Assembly:  EnvDTE (in EnvDTE.dll)

Syntax

'Declaration
Sub ExcludeItems ( _
    ProjectFile As String, _
    ByRef ItemNames As Object() _
)
void ExcludeItems(
    string ProjectFile,
    ref Object[] ItemNames
)
void ExcludeItems(
    [InAttribute] String^ ProjectFile, 
    [InAttribute] array<Object^>^% ItemNames
)
abstract ExcludeItems : 
        ProjectFile:string * 
        ItemNames:Object[] byref -> unit 
function ExcludeItems(
    ProjectFile : String, 
    ItemNames : Object[]
)

Parameters

  • ProjectFile
    Type: System.String
    The name of the project file that references the files to be excluded.
  • ItemNames
    Type: array<System.Object[]%
    An array of strings that identifies the items to be excluded.

.NET Framework Security

See Also

Reference

SourceControl Interface

EnvDTE Namespace