PimPropertySet.Add Method (String, Type, PimPropertyFlags)

3/29/2010

Creates a custom property with the specified flags.

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

Syntax

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

Parameters

  • propertyName
    Name of the custom property.
  • type
    Type of data of type System.Type
  • flags
    Set one or more flags from the PimPropertyFlags enum

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