SourceControl.ExcludeItem(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Excludes the specified item from the source control project.
public:
void ExcludeItem(System::String ^ ProjectFile, System::String ^ ItemName);
public:
void ExcludeItem(Platform::String ^ ProjectFile, Platform::String ^ ItemName);
void ExcludeItem(std::wstring const & ProjectFile, std::wstring const & ItemName);
[System.Runtime.InteropServices.DispId(7)]
public void ExcludeItem (string ProjectFile, string ItemName);
[<System.Runtime.InteropServices.DispId(7)>]
abstract member ExcludeItem : string * string -> unit
Public Sub ExcludeItem (ProjectFile As String, ItemName As String)
Parameters
- ProjectFile
- String
The name of the project file that references the item.
- ItemName
- String
The name of the item.
- Attributes