Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Description

Excerpt

Sets or returns a boolean that represents whether or not this section is unlocked.

Signature
C#
C#
public boolean Unlocked{ get; set; }
{signature}{signature:
}
Signature
vb.net
vb.net
Public Property Unlocked() As Boolean
{signature}
{example}{code:csharp|title=C#}
Example
Code Block
csharp
csharp
titleC#
          
//--- Return Unlocked
          bool unlocked = oSection.Unlocked;

          //--- Set Unlocked
          oSection.Unlocked = false;
        
{code} {code:
Code Block
vb.net
|title=
vb.net
titlevb.net
}
          
'--- Return Unlocked
          Dim unlocked As Boolean = oSection.Unlocked

          '--- Set Unlocked
          oSection.Unlocked = False
        
{code} {example}