PimPropertySet.Add Method (String, Type)


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)


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


  • 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


PimPropertySet Class
PimPropertySet Members
Microsoft.WindowsMobile.PocketOutlook Namespace