Share via


ContactItemType.Department Property

The Department property gets or sets a string value that contains the work department for the contact.

Namespace: ExchangeWebServices
Assembly: EWS (in ews.dll)

Syntax

'Declaration
Public Property Department As String
public string Department { get; set; }
public:
property String^ Department {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_Department ()

/** @property */
public void set_Department (String value)
public function get Department () : String

public function set Department (value : String)

Property Value

The Department property returns a string value that contains the work department for the contact.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,

Target Platforms

Windows 98, Windows 2000, Windows 2000 Server, Windows CE, Windows Longhorn, Windows 98 Second Edition, Pocket PC, Smart Phone, Windows Server 2003, Windows XP Professional with Service Pack 2 (SP2)