次の方法で共有


_PropertyAccessor.DeleteProperty Method

Deletes the property specified by SchemaName.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Syntax

'Declaration
<DispIdAttribute()> _
Sub DeleteProperty ( _
    SchemaName As String _
)
'Usage
Dim instance As _PropertyAccessor
Dim SchemaName As String

instance.DeleteProperty(SchemaName)
[DispIdAttribute()]
void DeleteProperty(
    string SchemaName
)

Parameters

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

Reference

_PropertyAccessor Interface

_PropertyAccessor Members

Microsoft.Office.Interop.Outlook Namespace