VCProject.RemoveRuleDefinition Method
Removes a Rule definition from the project.
Namespace: Microsoft.VisualStudio.VCProjectEngine
Assembly: Microsoft.VisualStudio.VCProjectEngine (in Microsoft.VisualStudio.VCProjectEngine.dll)
Syntax
'Dichiarazione
Function RemoveRuleDefinition ( _
bstrRuleFilePath As String _
) As Boolean
bool RemoveRuleDefinition(
string bstrRuleFilePath
)
bool RemoveRuleDefinition(
[InAttribute] String^ bstrRuleFilePath
)
abstract RemoveRuleDefinition :
bstrRuleFilePath:string -> bool
function RemoveRuleDefinition(
bstrRuleFilePath : String
) : boolean
Parameters
- 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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.