Share via


PimItemCollection.Remove Method (Object)

3/29/2010

Removes a generic object from the PIM item collection, based on the current sort order.

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

Syntax

public void Remove (
    Object item
)
'Declaration
Public Sub Remove ( _
    item As Object _
)

Parameters

  • item
    The PimItem to be removed from the collection.

Remarks

Both Remove and RemoveAt throw a NotSupportedException exception if AllowRemove is false.

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