VCProject.RemoveRuleDefinition(String) 方法

定义

从项目中删除一个规则定义。

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

参数

bstrRuleFilePath
String

包含规则的 XML 文件的路径。 此路径可以是项目的完整路径或相对路径。

返回

Boolean

如果该操作成功,则为 true;否则,为 false

属性

适用于