Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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: System.String
The 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.