共用方式為


SPUserSolutionCollection.Add method

將方案加入站台的方案組件庫中。

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

Syntax

'宣告
Public Function Add ( _
    solutionGalleryItemId As Integer _
) As SPUserSolution
'用途
Dim instance As SPUserSolutionCollection
Dim solutionGalleryItemId As Integer
Dim returnValue As SPUserSolution

returnValue = instance.Add(solutionGalleryItemId)
public SPUserSolution Add(
    int solutionGalleryItemId
)

參數

  • solutionGalleryItemId
    Type: System.Int32

    若要加入的方案組件庫項目項目識別碼。

傳回值

Type: Microsoft.SharePoint.SPUserSolution
沙箱化解決方案中。

請參閱

參照

SPUserSolutionCollection class

SPUserSolutionCollection members

Microsoft.SharePoint namespace