Share via


_OlkListBox.Locked Property

Returns or sets a Boolean (bool in C#) that specifies whether or not the control is locked from being changed. Read/write.

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

Syntax

'Declaration
<DispIdAttribute()> _
Property Locked As Boolean
    Get
    Set
'Usage
Dim instance As _OlkListBox
Dim value As Boolean

value = instance.Locked

instance.Locked = value
[DispIdAttribute()]
bool Locked { get; set; }

Property Value

Type: System.Boolean

Remarks

The default value is False.

When the control is locked, the control does not have a "disabled" appearance, but the user cannot edit the contents of the control.

See Also

Reference

_OlkListBox Interface

_OlkListBox Members

Microsoft.Office.Interop.Outlook Namespace