summaryM:DotNetNuke.Services.FileSystem.FileController.AddFile(System.Int32,System.String,System.String,System.Int64,System.Int32,System.Int32,System.String,System.String)
Namespace: DotNetNuke.Services.FileSystemAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
[EditorBrowsableAttribute(EditorBrowsableState.Never)] [ObsoleteAttribute("This function has been replaced by AddFile(ByVal file As FileInfo)")] public int AddFile( int portalId, string fileName, string extension, long size, int width, int height, string contentType, string folderPath ) |
Visual Basic |
---|
<EditorBrowsableAttribute(EditorBrowsableState.Never)> <ObsoleteAttribute("This function has been replaced by AddFile(ByVal file As FileInfo)")> Public Function AddFile ( portalId As Integer, fileName As String, extension As String, size As Long, width As Integer, height As Integer, contentType As String, folderPath As String ) As Integer |
Parameters
- portalId
- Type: System..::..Int32
paramportalIdM:DotNetNuke.Services.FileSystem.FileController.AddFile(System.Int32,System.String,System.String,System.Int64,System.Int32,System.Int32,System.String,System.String)
- fileName
- Type: System..::..String
paramfileNameM:DotNetNuke.Services.FileSystem.FileController.AddFile(System.Int32,System.String,System.String,System.Int64,System.Int32,System.Int32,System.String,System.String)
- extension
- Type: System..::..String
paramextensionM:DotNetNuke.Services.FileSystem.FileController.AddFile(System.Int32,System.String,System.String,System.Int64,System.Int32,System.Int32,System.String,System.String)
- size
- Type: System..::..Int64
paramsizeM:DotNetNuke.Services.FileSystem.FileController.AddFile(System.Int32,System.String,System.String,System.Int64,System.Int32,System.Int32,System.String,System.String)
- width
- Type: System..::..Int32
paramwidthM:DotNetNuke.Services.FileSystem.FileController.AddFile(System.Int32,System.String,System.String,System.Int64,System.Int32,System.Int32,System.String,System.String)
- height
- Type: System..::..Int32
paramheightM:DotNetNuke.Services.FileSystem.FileController.AddFile(System.Int32,System.String,System.String,System.Int64,System.Int32,System.Int32,System.String,System.String)
- contentType
- Type: System..::..String
paramcontentTypeM:DotNetNuke.Services.FileSystem.FileController.AddFile(System.Int32,System.String,System.String,System.Int64,System.Int32,System.Int32,System.String,System.String)
- folderPath
- Type: System..::..String
paramfolderPathM:DotNetNuke.Services.FileSystem.FileController.AddFile(System.Int32,System.String,System.String,System.Int64,System.Int32,System.Int32,System.String,System.String)