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
Name
Type: StringThe name of the enumeration property.
Return Value
Type: Microsoft.VisualStudio.VCProjectEngine.VCRuntimeEnumProperty
A VCRuntimeEnumProperty object.
Remarks
AddEnumProperty returns the new enumeration 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.