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.
- ItemName
Type: System.String
The name of the item.
.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.