共用方式為


SPFolder.GetProperty method

取得項目的值與指定的索引鍵從中繼資料的資料夾。

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

Syntax

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

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

參數

  • key
    Type: System.Object

    要傳回其值之項目的索引鍵。

傳回值

Type: System.Object
對應於指定索引鍵的值。

備註

這個方法會取得中繼資料集合中的資料夾中, Properties屬性中所含的key參數所指定之項目的值。

請參閱

參照

SPFolder class

SPFolder members

Microsoft.SharePoint namespace