Attachment.ContentState Property

Gets the content state, which indicates whether the local system has the current attachment contents.

Namespace:  Microsoft.Office.SharePointWorkspace.AddIn.Data
Assembly:  Microsoft.Office.SharePointWorkspace.AddIn.Data (in Microsoft.Office.SharePointWorkspace.AddIn.Data.dll)

Syntax

'Declaration
Public Property ContentState As SPWContentState
    Get
    Private Set
'Usage
Dim instance As Attachment
Dim value As SPWContentState

value = instance.ContentState
public SPWContentState ContentState { get; private set; }

Property Value

Type: Microsoft.Office.SharePointWorkspace.AddIn.Data.SPWContentState
Current if the attachment has the current contents; Old if the attachment has obsolete contents; and None if the attachment has not yet received the contents.

Remarks

Under some network conditions, SharePoint Workspace can have received the DataRow values from another workspace member but has not yet received the attachment contents. Although the content may be obsolete, the Attachment properties, such as DateModified and Size describe the current contents not the obsolete contents.

See Also

Reference

Attachment Class

Attachment Members

Microsoft.Office.SharePointWorkspace.AddIn.Data Namespace