summaryM:DotNetNuke.Services.FileSystem.FileController.AddFile(System.Int32,System.String,System.String,System.Int64,System.Int32,System.Int32,System.String,System.String,System.Int32,System.Boolean)
Namespace: DotNetNuke.Services.FileSystemAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
[EditorBrowsableAttribute(EditorBrowsableState.Never)] [ObsoleteAttribute("Deprecated in DotNetNuke 5.5. 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, int FolderID, bool ClearCache ) |
Visual Basic |
---|
<EditorBrowsableAttribute(EditorBrowsableState.Never)> <ObsoleteAttribute("Deprecated in DotNetNuke 5.5. 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, FolderID As Integer, 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.Int32,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.Int32,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.Int32,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.Int32,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.Int32,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.Int32,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.Int32,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.Int32,System.Boolean)
- FolderID
- Type: System..::..Int32
paramFolderIDM:DotNetNuke.Services.FileSystem.FileController.AddFile(System.Int32,System.String,System.String,System.Int64,System.Int32,System.Int32,System.String,System.String,System.Int32,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.Int32,System.Boolean)