 | SPContextPutFile Method (String, String, String, String, String) |
File_s the upload to library.
Namespace:
Koden.Utils.SharePoint
Assembly:
Koden.Utils.SharePoint (in Koden.Utils.SharePoint.dll) Version: 1.0.6453.26061
Syntaxpublic DefaultSPItemInfo PutFile(
string libName,
string folderName,
string fileToUpload,
string saveAsName,
string strTitle
)
Public Function PutFile (
libName As String,
folderName As String,
fileToUpload As String,
saveAsName As String,
strTitle As String
) As DefaultSPItemInfo
public:
DefaultSPItemInfo^ PutFile(
String^ libName,
String^ folderName,
String^ fileToUpload,
String^ saveAsName,
String^ strTitle
)
member PutFile :
libName : string *
folderName : string *
fileToUpload : string *
saveAsName : string *
strTitle : string -> DefaultSPItemInfo
Parameters
- libName
- Type: SystemString
[Missing <param name="libName"/> documentation for "M:Koden.Utils.SharePoint.SPContext.PutFile(System.String,System.String,System.String,System.String,System.String)"]
- folderName
- Type: SystemString
Name of the folder. - empty/null if none - fileToUpload
- Type: SystemString
The file to upload. path\filename.ext - saveAsName
- Type: SystemString
Name of the save as. empty/null if same as uploaded name - strTitle
- Type: SystemString
The title to give it in the site if applicable.
Return Value
Type:
DefaultSPItemInfo[Missing <returns> documentation for "M:Koden.Utils.SharePoint.SPContext.PutFile(System.String,System.String,System.String,System.String,System.String)"]
See Also