Partilhar via


ConfigurationManager.DeleteConfigurationRow(String) Method

Definition

Deletes a row of build configurations, such as for "Debug" or "Retail."

public:
 void DeleteConfigurationRow(System::String ^ Name);
public:
 void DeleteConfigurationRow(Platform::String ^ Name);
void DeleteConfigurationRow(std::wstring const & Name);
[System.Runtime.InteropServices.DispId(6)]
public void DeleteConfigurationRow (string Name);
[<System.Runtime.InteropServices.DispId(6)>]
abstract member DeleteConfigurationRow : string -> unit
Public Sub DeleteConfigurationRow (Name As String)

Parameters

Name
String

Required. The name of the project/project item configuration row to delete.

Attributes

Remarks

If any of the deleted Configuration objects were specified as part of any SolutionContext object, they are removed from there as well. DeleteConfigurationRow fails when trying to delete the last remaining configuration row.

Applies to