PeopleManager.SetMyProfilePicture 方法
上傳,並設定使用者設定檔圖片。
命名空間: Microsoft.SharePoint.Client.UserProfiles
組件: Microsoft.SharePoint.Client.UserProfiles.Silverlight (在 Microsoft.SharePoint.Client.UserProfiles.Silverlight.dll 中); Microsoft.SharePoint.Client.UserProfiles.Phone (在 Microsoft.SharePoint.Client.UserProfiles.Phone.dll 中) Microsoft.SharePoint.Client.UserProfiles (在 Microsoft.SharePoint.Client.UserProfiles.dll 中)
語法
'宣告
Public Sub SetMyProfilePicture ( _
picture As Stream _
)
'用途
Dim instance As PeopleManager
Dim picture As Stream
instance.SetMyProfilePicture(picture)
public void SetMyProfilePicture(
Stream picture
)
參數
- picture
類型:System.IO.Stream
備註
支援的最多 5 百萬位元組 BMP 與 JPEG、 PNG 格式中的圖片。使用者可以只將圖片上傳至自己的設定檔。