• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Interface IAttachmentController

Interface of FileController.

Namespace: DotNetNuke.Entities.Content
Assembly: DotNetNuke.dll
Syntax
public interface IAttachmentController

Methods

| Improve this Doc View Source

AddFilesToContent(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
AttachmentController
| Improve this Doc View Source

AddFileToContent(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
AttachmentController
| Improve this Doc View Source

AddImagesToContent(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
AttachmentController
| Improve this Doc View Source

AddImageToContent(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
AttachmentController
| Improve this Doc View Source

AddVideosToContent(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
AttachmentController
| Improve this Doc View Source

AddVideoToContent(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
AttachmentController
| Improve this Doc View Source

GetFilesByContent(Int32)

Interface of FileController.

Declaration
IList<IFileInfo> GetFilesByContent(int contentItemId)
Parameters
Type Name Description
System.Int32 contentItemId
Returns
Type Description
IList<IFileInfo>
See Also
AttachmentController
| Improve this Doc View Source

GetImagesByContent(Int32)

Interface of FileController.

Declaration
IList<IFileInfo> GetImagesByContent(int contentItemId)
Parameters
Type Name Description
System.Int32 contentItemId
Returns
Type Description
IList<IFileInfo>
See Also
AttachmentController
| Improve this Doc View Source

GetVideosByContent(Int32)

Interface of FileController.

Declaration
IList<IFileInfo> GetVideosByContent(int contentItemId)
Parameters
Type Name Description
System.Int32 contentItemId
Returns
Type Description
IList<IFileInfo>
See Also
AttachmentController

Extension Methods

JsonExtensionsWeb.ToJson(Object)

See Also

AttachmentController
  • View Source
Back to top by the community, for the community... #DNNCMS