Interface IAttachmentController
Interface of FileController.
Namespace: DotNetNuke.Entities.Content
Assembly: DotNetNuke.dll
Syntax
public interface IAttachmentController
Methods
| Improve this Doc View SourceAddFilesToContent(Int32, IEnumerable<IFileInfo>)
Interface of FileController.
Declaration
void AddFilesToContent(int contentItemId, IEnumerable<IFileInfo> fileInfo)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | contentItemId | |
IEnumerable<IFileInfo> | fileInfo |
See Also
| Improve this Doc View SourceAddFileToContent(Int32, IFileInfo)
Add a generic file to a ContentItem.
Declaration
void AddFileToContent(int contentItemId, IFileInfo fileInfo)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | contentItemId | The content item. |
IFileInfo | fileInfo | A file registered in the DotNetNuke. FileManager |
See Also
| Improve this Doc View SourceAddImagesToContent(Int32, IEnumerable<IFileInfo>)
Interface of FileController.
Declaration
void AddImagesToContent(int contentItemId, IEnumerable<IFileInfo> fileInfo)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | contentItemId | |
IEnumerable<IFileInfo> | fileInfo |
See Also
| Improve this Doc View SourceAddImageToContent(Int32, IFileInfo)
Attach an image to a ContentItem.
Declaration
void AddImageToContent(int contentItemId, IFileInfo fileInfo)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | contentItemId | The content item. |
IFileInfo | fileInfo | A file registered in the DotNetNuke. FileManager |
See Also
| Improve this Doc View SourceAddVideosToContent(Int32, IEnumerable<IFileInfo>)
Interface of FileController.
Declaration
void AddVideosToContent(int contentItemId, IEnumerable<IFileInfo> fileInfo)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | contentItemId | |
IEnumerable<IFileInfo> | fileInfo |
See Also
| Improve this Doc View SourceAddVideoToContent(Int32, IFileInfo)
Add a video file to a ContentItem.
Declaration
void AddVideoToContent(int contentItemId, IFileInfo fileInfo)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | contentItemId | The content item. |
IFileInfo | fileInfo | A file registered in the DotNetNuke. FileManager |
See Also
| Improve this Doc View SourceGetFilesByContent(Int32)
Interface of FileController.
Declaration
IList<IFileInfo> GetFilesByContent(int contentItemId)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | contentItemId |
Returns
Type | Description |
---|---|
IList<IFileInfo> |
See Also
| Improve this Doc View SourceGetImagesByContent(Int32)
Interface of FileController.
Declaration
IList<IFileInfo> GetImagesByContent(int contentItemId)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | contentItemId |
Returns
Type | Description |
---|---|
IList<IFileInfo> |
See Also
| Improve this Doc View SourceGetVideosByContent(Int32)
Interface of FileController.
Declaration
IList<IFileInfo> GetVideosByContent(int contentItemId)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | contentItemId |
Returns
Type | Description |
---|---|
IList<IFileInfo> |