Modifica

Condividi tramite


_PropertyAccessor.DeleteProperties(Object) Method

Definition

Deletes the properties specified in the array SchemaNames.

public:
 System::Object ^ DeleteProperties(System::Object ^ % SchemaNames);
public object DeleteProperties (ref object SchemaNames);
Public Function DeleteProperties (ByRef SchemaNames As Object) As Object

Parameters

SchemaNames
Object

An array that contains the names of the properties that are to be deleted for the parent object of the PropertyAccessor object. These properties are referenced by namespace. For more information, see Referencing Properties by Namespace

Returns

An Object that is Nothing (a null reference (Nothing in Visual Basic) in C#) if the operation is successful, or is an array of Err objects if an error occurs. If the return value is an array, the size of this array is the same as that of the SchemaNames array. An Err value in the array is mapped to the error result of deleting the corresponding property in the SchemaNames parameter.

Remarks

The caller must have the permission to delete properties. The DeleteProperties method only deletes custom properties that exist. 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