VCProject.RemoveRuleDefinition(String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
从项目中删除一个规则定义。
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 文件的路径。 此路径可以是项目的完整路径或相对路径。
返回
如果该操作成功,则为 true;否则,为 false。
- 属性