SourceControl.ExcludeItems 方法

从指定项目中排除指定的项。

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

语法

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

参数

  • ProjectFile
    类型:String

    引用待排除文件的项目文件的名称。

  • ItemNames
    类型:array<Object[]%

    标识待排除项的字符串的数组。

.NET Framework 安全性

请参阅

参考

SourceControl 接口

EnvDTE 命名空间