Share via


Field.Locked Property

Determines if the specified field is locked.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
Property Locked As Boolean
    Get
    Set
'Usage
Dim instance As Field
Dim value As Boolean

value = instance.Locked

instance.Locked = value
bool Locked { get; set; }

Property Value

Type: System.Boolean

Remarks

This property returns True if the specified field is locked, and False if not. When a field is locked, you cannot update the field results.

See Also

Reference

Field Interface

Field Members

Microsoft.Office.Interop.Word Namespace