| ArrayExtensionsToIntMask Method | 
            Takes in a bool array of maximum 32 entries and returns an int bitmask.
            
 
Namespace: StreamCoders.HelpersAssembly: MediaBase (in MediaBase.dll) Version: 2.0.5.0 (2.0.5.0)
 Syntax
Syntaxpublic static int ToIntMask(
	this bool[] boolArray
)
<ExtensionAttribute>
Public Shared Function ToIntMask ( 
	boolArray As Boolean()
) As Integer
public:
[ExtensionAttribute]
static int ToIntMask(
	array<bool>^ boolArray
)
[<ExtensionAttribute>]
static member ToIntMask : 
        boolArray : bool[] -> int 
Parameters
- boolArray
- Type: SystemBoolean
 
Return Value
Type: 
Int32Returns an integer bitmask
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type . 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
See Also