Partager via


_DDocSiteControl.ReadOnly Property

Returns or sets a Boolean value (bool in C#) that specifies whether the body displayed in the control can only be viewed and cannot be modified. Read/write.

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

Syntax

'Declaration
<DispIdAttribute()> _
Property ReadOnly As SByte
    Get
    Set
'Usage
Dim instance As _DDocSiteControl
Dim value As SByte

value = instance.ReadOnly

instance.ReadOnly = value
[DispIdAttribute()]
sbyte ReadOnly { get; set; }

Property Value

Type: System.SByte

Remarks

True to indicate that the control only displays the body and does not support its modification; False to indicate that the control supports both viewing and modifying of the body of the item.

See Also

Reference

_DDocSiteControl Interface

_DDocSiteControl Members

Microsoft.Office.Interop.Outlook Namespace