SourceControl.ExcludeItem Method

Excludes the specified item from the source control project.

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

Syntax

'Declaration
Sub ExcludeItem ( _
    ProjectFile As String, _
    ItemName As String _
)
void ExcludeItem(
    string ProjectFile,
    string ItemName
)
void ExcludeItem(
    [InAttribute] String^ ProjectFile, 
    [InAttribute] String^ ItemName
)
abstract ExcludeItem : 
        ProjectFile:string * 
        ItemName:string -> unit
function ExcludeItem(
    ProjectFile : String, 
    ItemName : String
)

Parameters

  • ProjectFile
    Type: System.String

    The name of the project file that references the item.

.NET Framework Security

See Also

Reference

SourceControl Interface

EnvDTE Namespace