共用方式為


PropertyAccessor Members

Include Protected Members
Include Inherited Members

Provides the ability to create, get, set, and delete properties on objects.

The PropertyAccessor type exposes the following members.

Properties

  Name Description
Public property Application Returns the Application object that represents the parent application (Outlook) for the PropertyAccessor object. Read-only. (Inherited from _PropertyAccessor.)
Public property Class Returns a constant in the OlObjectClass enumeration indicating the class of the PropertyAccessor object. Read-only. (Inherited from _PropertyAccessor.)
Public property Parent Returns the parent object of the PropertyAccessor object. Read-only. (Inherited from _PropertyAccessor.)
Public property Session Returns the NameSpace object for the current session. Read-only. (Inherited from _PropertyAccessor.)

Top

Methods

  Name Description
Public method BinaryToString Converts the array of bytes specified by Value to a String (string in C#). (Inherited from _PropertyAccessor.)
Public method DeleteProperties Deletes the properties specified in the array SchemaNames. (Inherited from _PropertyAccessor.)
Public method DeleteProperty Deletes the property specified by SchemaName. (Inherited from _PropertyAccessor.)
Public method GetProperties Obtains the values of the properties specified by the one-dimensional array SchemaNames. (Inherited from _PropertyAccessor.)
Public method GetProperty Returns an Object that represents the value of the property specified by SchemaName. (Inherited from _PropertyAccessor.)
Public method LocalTimeToUTC Converts a DateTime value specified by Value from the local time format to Coordinated Universal Time (UTC) format. (Inherited from _PropertyAccessor.)
Public method SetProperties Sets the properties specified by the array SchemaNames to the values specified by the array Values. (Inherited from _PropertyAccessor.)
Public method SetProperty Sets the property specified by SchemaName to the value specified by Value. (Inherited from _PropertyAccessor.)
Public method StringToBinary Converts a string specified by Value to an array of bytes. (Inherited from _PropertyAccessor.)
Public method UTCToLocalTime Converts the DateTime value that is specified by Value and expressed in Coordinated Universal Time (UTC) to a value in local time. (Inherited from _PropertyAccessor.)

Top

See Also

Reference

PropertyAccessor Interface

Microsoft.Office.Interop.Outlook Namespace