VCProject.RemoveRuleDefinition(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.
Removes a Rule definition from the project.
public:
bool RemoveRuleDefinition(System::String ^ bstrRuleFilePath);
public:
bool RemoveRuleDefinition(Platform::String ^ bstrRuleFilePath);
bool RemoveRuleDefinition(std::wstring const & bstrRuleFilePath);
[System.Runtime.InteropServices.DispId(883)]
public bool RemoveRuleDefinition (string bstrRuleFilePath);
[<System.Runtime.InteropServices.DispId(883)>]
abstract member RemoveRuleDefinition : string -> bool
Public Function RemoveRuleDefinition (bstrRuleFilePath As String) As Boolean
Parameters
- bstrRuleFilePath
- 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.
Returns
true
if the operation succeeds; otherwise, false
.
- Attributes