SPFile.AddProperty method
將項目加入至中繼資料檔案的清單。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Sub AddProperty ( _
key As Object, _
value As Object _
)
'用途
Dim instance As SPFile
Dim key As Object
Dim value As Object
instance.AddProperty(key, value)
public void AddProperty(
Object key,
Object value
)
參數
key
Type: System.Object要加入之項目的字串索引鍵。
value
Type: System.Object若要新增的項目值。
備註
這個方法會加入key/value至Properties屬性配對。