Nevron Open Vision Documentation
Nevron.Nov.DataStructures Namespace / NBitMatrix Class / SetBit Method


In This Topic
    SetBit Method
    In This Topic
    Sets the bit at the specified location to the given value and returns true if the bit value has been changed (that is if it has a value different from the given one).
    Syntax
    'Declaration
     
    
    Protected Overridable Function SetBit( _
       ByVal x As System.Integer, _
       ByVal y As System.Integer, _
       ByVal value As System.Boolean _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As NBitMatrix
    Dim x As System.Integer
    Dim y As System.Integer
    Dim value As System.Boolean
    Dim value As System.Boolean
     
    value = instance.SetBit(x, y, value)
    protected virtual System.bool SetBit( 
       System.int x,
       System.int y,
       System.bool value
    )

    Parameters

    x
    y
    value
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also