Compartilhar via


PimItemCollection.AllowNew Property

3/29/2010

Gets a value indicating whether it is possible to use AddNew to add PIM items to the collection.

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

Syntax

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

Remarks

True if it is possible to add items, otherwise false.

If IList.IsFixedSize or IList.IsReadOnly is true, then AllowNew returns 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