BitExtensionsSetMaskedValue(UInt24, Bits, UInt24) Method

Returns value after setting a new value for the bits specified by the bitmask.

Definition

Namespace: Gemstone.Numeric.UInt24Extensions
Assembly: Gemstone.Numeric (in Gemstone.Numeric.dll) Version: 1.0.110 -- Release Build+e3f505d56ee50c7e3fea40a20d129873a4fafd4c
public static UInt24 SetMaskedValue(
	this UInt24 source,
	Bits bitmask,
	UInt24 value
)

Parameters

source  UInt24
Value source.
bitmask  Bits
Bits that make-up the bit-mask.
value  UInt24
New value.

Return Value

UInt24
UInt24 value.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type UInt24. 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