SourceControl2.ExcludeItems Method

Excludes the specified items from the specified project.

Namespace:  EnvDTE80
Assembly:  EnvDTE80 (in EnvDTE80.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: String

    The name of the project file that references the files to be excluded.

  • ItemNames
    Type: array<Object[]%

    An array of strings that identifies the items to be excluded.

.NET Framework Security

See Also

Reference

SourceControl2 Interface

EnvDTE80 Namespace