[This is preliminary documentation and is subject to change.]
Stores the posted (uploaded) file in the file system and Store the link in the
database.
Namespace:
OfficeClip.DBLayer.OfficePortalAssembly: OfficeClip.DBLayer (in OfficeClip.DBLayer)
Version: 8.1.1.0
Syntax
C# |
---|
public string SavePostedFile( HttpPostedFile postedFile, string postedTitle, string postedDescription, int albumId, ConfigureInfo session ) |
Visual Basic (Declaration) |
---|
Public Function SavePostedFile ( _ postedFile As HttpPostedFile, _ postedTitle As String, _ postedDescription As String, _ albumId As Integer, _ session As ConfigureInfo _ ) As String |
Visual C++ |
---|
public: String^ SavePostedFile( HttpPostedFile^ postedFile, String^ postedTitle, String^ postedDescription, int albumId, ConfigureInfo^ session ) |
Parameters
- postedFile
- Type: System.Web..::.HttpPostedFile
The posted (uploaded) file.
- postedTitle
- Type: System..::.String
The photo title.
- postedDescription
- Type: System..::.String
The photo Description.
- albumId
- Type: System..::.Int32
Id of the album folder.
- session
- Type: OfficeClip.Utils..::.ConfigureInfo
The user session