Expand Minimize
This topic has not yet been rated - Rate this topic

RemoveIntegerChecks Property

Visual Studio .NET 2003

Specifies whether integer arithmetic errors, such as overflow, underflow, and division by zero, result in exceptions at run time. Visual Basic projects only.

[Visual Basic .NET]
Public Property RemoveIntegerChecks() As Boolean
[Visual Basic 6]
Property Get RemoveIntegerChecks() As Boolean
Property Let RemoveIntegerChecks( _
   ByVal NewValue As Boolean _
) 
[C++]
HRESULT __stdcall get_RemoveIntegerChecks(
   /* [out, retval] */ VARIANT_BOOL* retVal
);
HRESULT __stdcall put_RemoveIntegerChecks(
   /* [in] */ VARIANT_BOOL NewValue
);
[C#]
bool RemoveIntegerChecks {get; set;}
[JScript .NET]
public function get RemoveIntegerChecks() : Boolean
public function set RemoveIntegerChecks(
   NewValue : Boolean
)

Parameters

NewValue
If true, integer arithmetic is not checked during run time. If false, arithmetic is checked.

Remarks

Removing integer checking may improve performance, but with accompanying risks from incorrect calculations.

This property is meaningful for Visual Basic projects only. For Visual C# projects, see the CheckForOverflowUnderflow Property.

Example

See WarningLevel Property.

See Also

/removeintchecks | Optimizations, Configuration Properties, <Projectname> Property Pages Dialog Box

Applies To: Properties Property (Visual Basic and Visual C# Configuration Object)

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.