IntExt.WithFlags Method (UInt32, UInt32)

Returns an uint value with one or more flags set if they weren’t set already.

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

Syntax

C#

public static uint WithFlags(
	this uint self,
	uint flags
)

Parameters

 

self
Type: System.UInt32
uint value
flags
Type: System.UInt32
Flag(s) to set when returned

Return Value

Type: UInt32
uint value with the given flag(s) set

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type UInt32. 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
WithFlags Overload
UltimateXR.Extensions.System.Math Namespace