Share via


SPFieldFile class

表示包含檔案的欄位。

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.SPField
    Microsoft.SharePoint.SPFieldFile

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

Syntax

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

備註

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

SPFieldFile物件可以透過FileField伺服器控制項呈現。

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

注意事項注意事項

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.

請參閱

參照

SPFieldFile members

Microsoft.SharePoint namespace