AttachmentsField class
Collapse the table of content
Expand the table of content

AttachmentsField class

Renders a field to which a file is attached on a form page (not a list view page).

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public class AttachmentsField : BaseFieldControl

Objects of the AttachmentsField type are primarily used as the value of the SPFieldAttachments.FieldRenderingControl property.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
© 2015 Microsoft