SPWeb.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 SPWeb
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要加入的屬性值。
備註
這個方法會將屬性加入索引鍵/值組的AllProperties屬性。