Share via


_SharingItem.AllowWriteAccess Property

Returns or sets a Boolean (bool in C#) value that indicates whether a sharing invitation should include write access to the folder. Read/write.

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

Syntax

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

value = instance.AllowWriteAccess

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

Property Value

Type: System.Boolean
True if the recipient of the sharing invitation should receive write access; otherwise False. The default is False.

Remarks

When sending a sharing invitation for a non-default folder, the recipient can be granted write access to the folder in addition to the default read access. This property determines if write permission should be granted to the recipient when the SharingItem is sent.

An error occurs if you attempt to set this property after the sharing message has been sent or received.

See Also

Reference

_SharingItem Interface

_SharingItem Members

Microsoft.Office.Interop.Outlook Namespace