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 命名空间