SourceControl2.ExcludeItems Method
Excludes the specified items from the specified project.
Namespace: EnvDTE80
Assembly: EnvDTE80 (in EnvDTE80.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: StringThe name of the project file that references the files to be excluded.
ItemNames
Type: array<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.