ProfileImageStore.SaveUploadedFile - Méthode
Ce membre est réservé à une utilisation interne et n’est pas destiné à être utilisé directement à partir de votre code.
Espace de noms : Microsoft.SharePoint.Client.UserProfiles
Assemblys : Microsoft.SharePoint.Client.UserProfiles.Silverlight (dans Microsoft.SharePoint.Client.UserProfiles.Silverlight.dll); Microsoft.SharePoint.Client.UserProfiles.Phone (dans Microsoft.SharePoint.Client.UserProfiles.Phone.dll) Microsoft.SharePoint.Client.UserProfiles (dans Microsoft.SharePoint.Client.UserProfiles.dll)
Syntaxe
'Déclaration
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)
'Utilisation
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
)
Paramètres
- profileType
Type : System.Int32
- fileNamePrefix
Type : System.String
- isFeedAttachment
Type : System.Boolean
- clientFilePath
Type : System.String
- fileSize
Type : System.Int32
- fileStream
Type : System.IO.Stream
Valeur renvoyée
Type : Microsoft.SharePoint.Client.ClientArrayResult<String>