PimPropertySet.Item Property (String)
3/29/2010
Gets or sets a generic property value using the string value of the property name.
Namespace: Microsoft.WindowsMobile.PocketOutlook
Assembly: Microsoft.WindowsMobile.PocketOutlook (in microsoft.windowsmobile.pocketoutlook.dll)
Syntax
public Object this [
string propertyName
] { get; set; }
'Declaration
Public Default Property Item ( _
propertyName As String _
) As Object
Parameters
- propertyName
The String name of the property.
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.
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