Freigeben über


SourceControl2.ExcludeItem Method

Excludes the specified item from the source control project.

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

    The name of the project file that references the item.

  • ItemName
    Type: String

    The name of the item.

.NET Framework Security

See Also

Reference

SourceControl2 Interface

EnvDTE80 Namespace