SourceControl2.ExcludeItem 方法

从源代码管理项目中排除指定的项。

命名空间:  EnvDTE80
程序集:  EnvDTE80(在 EnvDTE80.dll 中)

语法

声明
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
)

参数

  • ProjectFile
    类型:String

    引用项的项目文件的名称。

  • ItemName
    类型:String

    项的名称。

.NET Framework 安全性

请参阅

参考

SourceControl2 接口

EnvDTE80 命名空间