共用方式為


SPFieldAttachments class

代表包含附件的欄位。

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.SPField
    Microsoft.SharePoint.SPFieldAttachments

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

Syntax

'宣告
Public Class SPFieldAttachments _
    Inherits SPField
'用途
Dim instance As SPFieldAttachments
public class SPFieldAttachments : SPField

備註

如果您設定SPFieldAttachments類別的屬性,您必須呼叫變更才會生效,在資料庫中的Update方法。

SPFieldAttachments物件可以透過AttachmentsField伺服器控制項呈現。

SPFieldAttachments類別會對應到透過Type屬性的欄位項目指定的Attachments資料型別。

注意事項注意事項

Windows SharePoint Services 3.0不支援繼承自這個類別。

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.

請參閱

參照

SPFieldAttachments members

Microsoft.SharePoint namespace