Compartilhar via


PimPropertySet.Item Property (AppointmentProperty)

3/29/2010

Gets or sets a Appointment property value.

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

Syntax

public Object this [
    AppointmentProperty propertyName
] { get; set; }
'Declaration
Public Default Property Item ( _
    propertyName As AppointmentProperty _
) As Object

Parameters

  • propertyName
    A propertyName from the AppointmentProperty Enum

Remarks

When setting a property value, an ArgumentException will be thrown if the argument type is not supported, or if the property name exists but is of a different type than that of the argument.

When getting a property value, the property with the specified name is retrieved. You must cast the returned object to the appropriate property type. If the returned object is to be casted into a value type, you must verify that the returned object is not null before the casting.

You must call Update on the appointment before setting either MeetingOwnerCriticalChange or AttendeesCriticalChange.

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