共用方式為


SourceControl.ExcludeItem(String, String) Method

Definition

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

Applies to