Share via


WebPartGalleryItem.IsSafeAgainstScript property

Gets whether the tiem is safe for contributors to add to the current page.

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

Syntax

'Declaration
Public MustOverride ReadOnly Property IsSafeAgainstScript As Boolean
    Get
'Usage
Dim instance As WebPartGalleryItem
Dim value As Boolean

value = instance.IsSafeAgainstScript
public abstract bool IsSafeAgainstScript { get; }

Property value

Type: System.Boolean

See also

Reference

WebPartGalleryItem class

WebPartGalleryItem members

Microsoft.SharePoint.WebPartPages namespace