Rediger

Del via


PropertyAccessor.DeleteProperty method (Outlook)

Deletes the property specified by SchemaName.

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.

See also

PropertyAccessor Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.