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

声明
Function AddEnumProperty ( _
    Name As String _
) As VCRuntimeEnumProperty
用法
Dim instance As VCCustomBuildRule
Dim Name As String
Dim returnValue As VCRuntimeEnumProperty

returnValue = instance.AddEnumProperty(Name)
VCRuntimeEnumProperty AddEnumProperty(
    string Name
)
VCRuntimeEnumProperty^ AddEnumProperty(
    [InAttribute] String^ Name
)
function AddEnumProperty(
    Name : String
) : VCRuntimeEnumProperty

Parameters

Return Value

Type: Microsoft.VisualStudio.VCProjectEngine.VCRuntimeEnumProperty

A VCRuntimeEnumProperty object.

Remarks

AddEnumProperty returns the new enumeration property.

Permissions

See Also

Reference

VCCustomBuildRule Interface

VCCustomBuildRule Members

Microsoft.VisualStudio.VCProjectEngine Namespace