ImageField class

Represents a field that contains ImageFieldValue data.

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.SPField
    Microsoft.SharePoint.SPFieldMultiLineText
      Microsoft.SharePoint.Publishing.Fields.BaseRichFieldType
        Microsoft.SharePoint.Publishing.Fields.ImageField

Namespace:  Microsoft.SharePoint.Publishing.Fields
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Class ImageField _
    Inherits BaseRichFieldType
'Usage
Dim instance As ImageField
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class ImageField : BaseRichFieldType

Remarks

The Web control class for editing and displaying a value in an ImageFieldValue object is RichImageField.

The ImageField control has a dependency on the HttpContext class.

Thread safety

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

See also

Reference

ImageField members

Microsoft.SharePoint.Publishing.Fields namespace