Compartir a través de


_SharingItem.Type Property

Returns or sets an OlSharingMsgType constant that indicates the type of sharing message represented by the SharingItem. Read/write.

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

Syntax

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

value = instance.Type

instance.Type = value
[DispIdAttribute()]
OlSharingMsgType Type { get; set; }

Property Value

Type: Microsoft.Office.Interop.Outlook.OlSharingMsgType

Remarks

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

See Also

Reference

_SharingItem Interface

_SharingItem Members

Microsoft.Office.Interop.Outlook Namespace