共用方式為


ProfileImageStore.SaveUploadedFile 方法

此成員是保留給內部使用,而不是用來直接從您的程式碼使用

命名空間:  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 Function SaveUploadedFile ( _
    profileType As Integer, _
    fileNamePrefix As String, _
    isFeedAttachment As Boolean, _
    clientFilePath As String, _
    fileSize As Integer, _
    fileStream As Stream _
) As ClientArrayResult(Of String)
'用途
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
)

參數

傳回值

類型:Microsoft.SharePoint.Client.ClientArrayResult<String>

請參閱

參照

ProfileImageStore 類別

ProfileImageStore 成員

Microsoft.SharePoint.Client.UserProfiles 命名空間