Dela via


VCCustomBuildRule.AddEnumProperty Method

Adds an enumeration 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 AddEnumProperty ( _
    Name As String _
) As VCRuntimeEnumProperty
VCRuntimeEnumProperty AddEnumProperty(
    string Name
)
VCRuntimeEnumProperty^ AddEnumProperty(
    [InAttribute] String^ Name
)
abstract AddEnumProperty : 
        Name:string -> VCRuntimeEnumProperty 
function AddEnumProperty(
    Name : String
) : VCRuntimeEnumProperty

Parameters

Return Value

Type: Microsoft.VisualStudio.VCProjectEngine.VCRuntimeEnumProperty
A VCRuntimeEnumProperty object.

Remarks

AddEnumProperty returns the new enumeration property.

.NET Framework Security

See Also

Reference

VCCustomBuildRule Interface

Microsoft.VisualStudio.VCProjectEngine Namespace