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

声明
Function AddBooleanProperty ( _
    Name As String _
) As VCRuntimeBooleanProperty
用法
Dim instance As VCCustomBuildRule
Dim Name As String
Dim returnValue As VCRuntimeBooleanProperty

returnValue = instance.AddBooleanProperty(Name)
VCRuntimeBooleanProperty AddBooleanProperty(
    string Name
)
VCRuntimeBooleanProperty^ AddBooleanProperty(
    [InAttribute] String^ Name
)
function AddBooleanProperty(
    Name : String
) : VCRuntimeBooleanProperty

Parameters

Return Value

Type: Microsoft.VisualStudio.VCProjectEngine.VCRuntimeBooleanProperty

A VCRuntimeBooleanProperty object.

Remarks

Returns the new Boolean property.

Permissions

See Also

Reference

VCCustomBuildRule Interface

VCCustomBuildRule Members

Microsoft.VisualStudio.VCProjectEngine Namespace