SPMobileAttachmentsField.AttachmentsField Property

Gets the field that the SPMobileAttachmentsField control is rendering.

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

Syntax

Public ReadOnly Property AttachmentsField As SPFieldAttachments
    Get

Dim instance As SPMobileAttachmentsField
Dim value As SPFieldAttachments

value = instance.AttachmentsField
public SPFieldAttachments AttachmentsField { get; }

Property Value

Type: Microsoft.SharePoint.SPFieldAttachments
An SPFieldAttachments that represents the field that is being rendered.

Remarks

Calling code should use this property rather than the inherited Field because the cast from SPField to SPFieldAttachments is already done.

See Also

Reference

SPMobileAttachmentsField Class

SPMobileAttachmentsField Members

Microsoft.SharePoint.MobileControls Namespace