Share via


AttachmentsField.Value property

When overridden in a derived class, gets or sets the value of the field in the UI.

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

Syntax

'Declaration
Public Overrides Property Value As Object
    Get
    Set
'Usage
Dim instance As AttachmentsField
Dim value As Object

value = instance.Value

instance.Value = value
public override Object Value { get; set; }

Property value

Type: System.Object
a null reference (Nothing in Visual Basic), but when overridden in a derived class, an Object that represents the value of the SPFieldAttachments object that has the AttachmentsField object as its FieldRenderingControl property.

Remarks

This override always returns a null reference (Nothing in Visual Basic) and the set accessor does nothing.

See also

Reference

AttachmentsField class

AttachmentsField members

Microsoft.SharePoint.WebControls namespace