Partager via


_AppointmentItem.Location Property

Returns or sets a String (string in C#) representing the specific office location (for example, Building 1 Room 1 or Suite 123) for the appointment. Read/write.

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

Syntax

'Declaration
<DispIdAttribute()> _
Property Location As String
    Get
    Set
'Usage
Dim instance As _AppointmentItem
Dim value As String

value = instance.Location

instance.Location = value
[DispIdAttribute()]
string Location { get; set; }

Property Value

Type: System.String

Remarks

This property corresponds to the MAPI property PidTagOfficeLocation.

See Also

Reference

_AppointmentItem Interface

_AppointmentItem Members

Microsoft.Office.Interop.Outlook Namespace

Other Resources

How to: Import Appointment XML Data into Outlook Appointment Objects

How to: Create a Meeting Request, Add Recipients, and Specify a Location