Share via


_ExchangeUser.OfficeLocation Property

Returns a String (string in C#) representing the office location for the ExchangeUser. Read/write.

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

Syntax

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

value = instance.OfficeLocation

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

Property Value

Type: System.String

Remarks

This property corresponds to the MAPI property, PidTagOfficeLocation.

Returns an empty string if this property has not been implemented or does not exist for the ExchangeUser object.

See Also

Reference

_ExchangeUser Interface

_ExchangeUser Members

Microsoft.Office.Interop.Outlook Namespace

Other Resources

How to: Get Information About the Current User

How to: Get Information About Direct Reports of the Current User's Manager