PropertyAccessor.DeleteProperty Method (Outlook)
Deletes the property specified by SchemaName.
Version Information
Version Added: Outlook 2007
Syntax
expression .DeleteProperty(SchemaName)
expression A variable that represents a PropertyAccessor object.
Parameters
Name |
Required/Optional |
Data Type |
Description |
---|---|---|---|
SchemaName |
Required |
String |
The name of the property that is to be deleted for the parent object of the PropertyAccessor object. The property is referenced by namespace. For more information, see Referencing Properties by Namespace. |
Remarks
The caller must have the permission to delete properties. The DeleteProperty method deletes only custom properties; it does not delete any Outlook built-in property or any MAPI property. It does not delete custom properties of the DocumentItem object.