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.StringThe 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.