共用方式為


SPFile.GetProperty method

根據指定的索引鍵的檔案,從清單中的項目中繼資料取得的值。

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

Syntax

'宣告
Public Function GetProperty ( _
    key As Object _
) As Object
'用途
Dim instance As SPFile
Dim key As Object
Dim returnValue As Object

returnValue = instance.GetProperty(key)
public Object GetProperty(
    Object key
)

參數

  • key
    Type: System.Object

    要從中擷取值之項目的字串索引鍵。

傳回值

Type: System.Object
Object
項目的值。

請參閱

參照

SPFile class

SPFile members

Microsoft.SharePoint namespace