_PropertyAccessor.DeleteProperty(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.