_PropertyAccessor.DeleteProperty(String) Method

Definition

Deletes the property specified by SchemaName.

public:
 void DeleteProperty(System::String ^ SchemaName);
public void DeleteProperty (string SchemaName);
Public Sub DeleteProperty (SchemaName As String)

Parameters

SchemaName
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.

Applies to