Share via


PimItemCollection.AllowRemove Property

3/29/2010

Gets a value indicating whether it is possible to use either Remove or RemoveAt to remove PIM items from the collection.

Namespace: Microsoft.WindowsMobile.PocketOutlook
Assembly: Microsoft.WindowsMobile.PocketOutlook (in microsoft.windowsmobile.pocketoutlook.dll)

Syntax

public bool AllowRemove { get; }
'Declaration
Public ReadOnly Property AllowRemove As Boolean

Remarks

Returns false if either IsFixedSize or IsReadOnly is true. If AllowRemove returns false, then Remove and RemoveAt will throw the exception NotSupportedException.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread-safe. Any instance members are not guaranteed to be thread-safe.

See Also

Reference

PimItemCollection Class
PimItemCollection Members
Microsoft.WindowsMobile.PocketOutlook Namespace