summaryM:DotNetNuke.Services.FileSystem.FileController.AddFile(System.Int32,System.String,System.String,System.Int64,System.Int32,System.Int32,System.String,System.String,System.Boolean)
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, bool ClearCache ) |
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, ClearCache As Boolean ) 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,System.Boolean)
- 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,System.Boolean)
- 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,System.Boolean)
- 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,System.Boolean)
- 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,System.Boolean)
- 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,System.Boolean)
- 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,System.Boolean)
- 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,System.Boolean)
- ClearCache
- Type: System..::..Boolean
paramClearCacheM:DotNetNuke.Services.FileSystem.FileController.AddFile(System.Int32,System.String,System.String,System.Int64,System.Int32,System.Int32,System.String,System.String,System.Boolean)