次の方法で共有


VCProject.RemoveRuleDefinition(String) Method

Definition

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

Applies to