VCCustomBuildRule.AddBooleanProperty Method
Adds a Boolean property to the custom build rule with the given name.
Namespace: Microsoft.VisualStudio.VCProjectEngine
Assembly: Microsoft.VisualStudio.VCProjectEngine (in Microsoft.VisualStudio.VCProjectEngine.dll)
Syntax
'Declaration
Function AddBooleanProperty ( _
Name As String _
) As VCRuntimeBooleanProperty
VCRuntimeBooleanProperty AddBooleanProperty(
string Name
)
VCRuntimeBooleanProperty^ AddBooleanProperty(
[InAttribute] String^ Name
)
abstract AddBooleanProperty :
Name:string -> VCRuntimeBooleanProperty
function AddBooleanProperty(
Name : String
) : VCRuntimeBooleanProperty
Parameters
- Name
Type: System.String
The name of the new Boolean property.
Return Value
Type: Microsoft.VisualStudio.VCProjectEngine.VCRuntimeBooleanProperty
A VCRuntimeBooleanProperty object.
Remarks
Returns the new Boolean property.
.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.