Partilhar via


SourceControl2.ExcludeItems(String, Object[]) Method

Definition

Excludes the specified items from the specified project.

public:
 void ExcludeItems(System::String ^ ProjectFile, cli::array <System::Object ^> ^ % ItemNames);
void ExcludeItems(std::wstring const & ProjectFile, std::Array <winrt::Windows::Foundation::IInspectable const &> const & & ItemNames);
[System.Runtime.InteropServices.DispId(8)]
public void ExcludeItems (string ProjectFile, ref object[] ItemNames);
[<System.Runtime.InteropServices.DispId(8)>]
abstract member ExcludeItems : string * Object[] -> unit
Public Sub ExcludeItems (ProjectFile As String, ByRef ItemNames As Object())

Parameters

ProjectFile
String

The name of the project file that references the files to be excluded.

ItemNames
Object[]

An array of strings that identifies the items to be excluded.

Implements

Attributes

Applies to