Share via


SPUserCodeWebPart.IPersonalizable.IsDirty Property

Gets a flag that indicates whether the custom data that the SPUserCodeWebPart manages has changed.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Private ReadOnly Property IsDirty As Boolean
    Implements IPersonalizable.IsDirty
    Get
'Usage
Dim instance As SPUserCodeWebPart
Dim value As Boolean

value = CType(instance, IPersonalizable).IsDirty
boolIPersonalizable.IsDirty { get; }

Property Value

Type: System.Boolean
true if the custom data has changed; otherwise, false.

Implements

IPersonalizable.IsDirty

Remarks

This method can be invoked only when the SPUserCodeWebPart instance is cast to an IPersonalizable interface.

See Also

Reference

SPUserCodeWebPart Class

SPUserCodeWebPart Members

Microsoft.SharePoint.WebPartPages Namespace