VCCustomBuildRule.AddIntegerProperty Method
Adds an integer 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 AddIntegerProperty ( _
Name As String _
) As VCRuntimeIntegerProperty
VCRuntimeIntegerProperty AddIntegerProperty(
string Name
)
VCRuntimeIntegerProperty^ AddIntegerProperty(
[InAttribute] String^ Name
)
abstract AddIntegerProperty :
Name:string -> VCRuntimeIntegerProperty
function AddIntegerProperty(
Name : String
) : VCRuntimeIntegerProperty
Parameters
- Name
Type: System.String
The name of the integer property.
Return Value
Type: Microsoft.VisualStudio.VCProjectEngine.VCRuntimeIntegerProperty
A VCRuntimeIntegerProperty object.
Remarks
AddIntegerProperty returns the new integer 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.