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: StringThe name of the project file that references the item.
ItemName
Type: StringThe 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.