次の方法で共有


SPListCollection.EnsureSiteAssetsLibrary method

A list that is designated as a default asset location for images or other files which the users upload to their wiki pages.

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

Syntax

'Declaration
Public Function EnsureSiteAssetsLibrary As SPList
'Usage
Dim instance As SPListCollection
Dim returnValue As SPList

returnValue = instance.EnsureSiteAssetsLibrary()
public SPList EnsureSiteAssetsLibrary()

Return value

Type: Microsoft.SharePoint.SPList
A SPList object designated as a default location for wiki page assets.

Remarks

If this list does not exist one is created and returned. If multiple such lists exist only one is returned.

See also

Reference

SPListCollection class

SPListCollection members

Microsoft.SharePoint namespace