Compartir a través de


VCProject.RemoveRuleDefinition Method

Removes a Rule definition from the project.

Namespace:  Microsoft.VisualStudio.VCProjectEngine
Assembly:  Microsoft.VisualStudio.VCProjectEngine (in Microsoft.VisualStudio.VCProjectEngine.dll)

Syntax

'Declaración
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

See Also

Reference

VCProject Interface

Microsoft.VisualStudio.VCProjectEngine Namespace