PimPropertySet.Add Method (String)

3/29/2010

Creates a custom string property, assigning it the default PIM property flags.

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

Syntax

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

Parameters

  • propertyName
    Name of the custom property to create.

Return Value

true if the custom property was created; false if it already exists.

Remarks

The type of the custom property is a String.

The custom property is not indexed, and it will not be copied when the PIM item is synchronized.

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