_ExchangeUser.GetPicture Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Obtains a StdPicture object that represents the picture of the Microsoft Exchange user that is displayed in Microsoft Outlook.
public:
stdole::StdPicture ^ GetPicture();
public stdole.StdPicture GetPicture ();
Public Function GetPicture () As StdPicture
Returns
Remarks
The picture of the Exchange user is stored in Active Directory and displayed in various places in Outlook, including the dialog box for Outlook Properties and Contact Card.If the picture does not exist for the user, GetPicture returns Nothing (a null reference (Nothing in Visual Basic) in C#).
You can only call GetPicture from code that runs in-process as Outlook. An StdPicture object cannot be marshaled across process boundaries. If you attempt to call GetPicture from out-of-process code, an exception occurs.
Applies to
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin