Share via


ProfileImageStore.SaveUploadedFile method

This member is reserved for internal use and is not intended to be used directly from your code.

Namespace:  Microsoft.SharePoint.Client.UserProfiles
Assembly:  Microsoft.SharePoint.Client.UserProfiles (in Microsoft.SharePoint.Client.UserProfiles.dll)

Syntax

'Declaration
Public Function SaveUploadedFile ( _
    profileType As Integer, _
    fileNamePrefix As String, _
    isFeedAttachment As Boolean, _
    clientFilePath As String, _
    fileSize As Integer, _
    fileStream As Stream _
) As ClientArrayResult(Of String)
'Usage
Dim instance As ProfileImageStore
Dim profileType As Integer
Dim fileNamePrefix As String
Dim isFeedAttachment As Boolean
Dim clientFilePath As String
Dim fileSize As Integer
Dim fileStream As Stream
Dim returnValue As ClientArrayResult(Of String)

returnValue = instance.SaveUploadedFile(profileType, _
    fileNamePrefix, isFeedAttachment, _
    clientFilePath, fileSize, fileStream)
public ClientArrayResult<string> SaveUploadedFile(
    int profileType,
    string fileNamePrefix,
    bool isFeedAttachment,
    string clientFilePath,
    int fileSize,
    Stream fileStream
)

Parameters

Return value

Type: Microsoft.SharePoint.Client.ClientArrayResult<String>

See also

Reference

ProfileImageStore class

ProfileImageStore members

Microsoft.SharePoint.Client.UserProfiles namespace