PimPropertySet.Add Method (String, Type)

3/29/2010

Creates a custom property, assigning it the default PIM property flags (property is not indexed, and is replicated on the UI).

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

Syntax

public bool Add (
    string propertyName,
    Type type
)
'Declaration
Public Function Add ( _
    propertyName As String, _
    type As Type _
) As Boolean

Parameters

  • propertyName
    Name of the custom property.
  • type
    System.Type type of data.

Return Value

False if the property already exists, true if it is created.

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

PimPropertySet Class
PimPropertySet Members
Microsoft.WindowsMobile.PocketOutlook Namespace