LinkFormat.Locked Property
True if a Field, InlineShape, or Shape object is locked to prevent automatic updating.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)
Usage
Dim linkFormat1 As LinkFormat
Dim returnValue As Boolean
returnValue = linkFormat1.Locked
Dim sampleValue As Boolean
linkFormat1.Locked = sampleValue
Syntax
Property Locked() As Boolean
bool Locked {get; set;}
property Boolean Locked{
Boolean get();
Void set(Boolean);
}
public boolean get_Locked();
public void set_Locked(boolean);
function get Locked() : Boolean;
function set Locked(Boolean);
Remarks
If you use this property with a Shape object that's a floating linked picture (a picture added with the AddPicture method of the Shapes object), an error occurs.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000
Target Platforms
See Also
Reference
LinkFormat Interface
Microsoft.Office.Interop.Word Namespace