IntExt.WithoutFlags Method (Int32, Int32)

Returns an int value with one or more flags cleared if they were set.

Namespace: UltimateXR.Extensions.System.Math
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0

Syntax

C#

public static int WithoutFlags(
	this int self,
	int flags
)

Parameters

 

self
Type: System.Int32
int value
flags
Type: System.Int32
Flag(s) to clear when returned

Return Value

Type: Int32
int value with the given flag(s) cleared

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Int32. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also

Reference

IntExt Class
WithoutFlags Overload
UltimateXR.Extensions.System.Math Namespace