VCProject.RemoveRuleDefinition Method (String)


Removes a Rule definition from the project.

Namespace:   Microsoft.VisualStudio.VCProjectEngine
Assembly:  Microsoft.VisualStudio.VCProjectEngine (in Microsoft.VisualStudio.VCProjectEngine.dll)

bool RemoveRuleDefinition(
	string bstrRuleFilePath


Type: System.String

The path of an XML file that contains a rule. The path can be a full path or one that is relative to the project.

Return Value

Type: System.Boolean

true if the operation succeeds; otherwise, false.

Return to top