共用方式為


SPUserCodePropertyCollection.Add method

SPUserCodeProperty加入至集合。

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

Syntax

'宣告
Public Sub Add ( _
    userCodeProperty As SPUserCodeProperty _
)
'用途
Dim instance As SPUserCodePropertyCollection
Dim userCodeProperty As SPUserCodeProperty

instance.Add(userCodeProperty)
public void Add(
    SPUserCodeProperty userCodeProperty
)

參數

備註

這個方法會將SPUserCodeProperty加入至集合。

請參閱

參照

SPUserCodePropertyCollection class

SPUserCodePropertyCollection members

Microsoft.SharePoint.WebPartPages namespace