Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
Description

Excerpt

Sets or returns a boolean representing whether or not annotations are locked in this document.

{signature}
{example}{code:csharp|title=C#}

          //--- Get AnnotationsLocked
          bool annotationsLocked = docProtect.AnnotationsLocked;

          //--- Set AnnotationsLocked
          docProtect.AnnotationsLocked = true;
        
{code}
{code:vb.net
|title=vb.net
}

          '--- Get AnnotationsLocked
          Dim annotationsLocked As Boolean = docProtect.AnnotationsLocked

          '--- Set AnnotationsLocked
          docProtect.AnnotationsLocked = True
        {code}

{example}
Signature
C#C#
Wiki Markup
{description}
{excerpt}Sets or returns a {{boolean}} representing whether or not annotations are locked in this document.{excerpt}
{signature:C#}
 public boolean AnnotationsLocked{ get; set; }
Signature
{signature}{signature:vb.net
vb.net
}
Public Property AnnotationsLocked() As Boolean
Example
Code Block
csharpcsharp
titleC#
Code Block
vb.nettitle