共用方式為


SPList.IsSiteAssetsLibrary Property

Indicates whether or not this list is designated as the default asset location for images or other files which the users uploads to their wiki pages.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
<ClientCallablePropertyAttribute(SetProperty := False, ExcludeFromDefaultRetrieve := True)> _
Public Property IsSiteAssetsLibrary As Boolean
    Get
    Set
'Usage
Dim instance As SPList
Dim value As Boolean

value = instance.IsSiteAssetsLibrary

instance.IsSiteAssetsLibrary = value
[ClientCallablePropertyAttribute(SetProperty = false, ExcludeFromDefaultRetrieve = true)]
public bool IsSiteAssetsLibrary { get; set; }

Property Value

Type: System.Boolean
A Boolean value = true if designated as the default asset location.

See Also

Reference

SPList Class

SPList Members

Microsoft.SharePoint Namespace