_PropertyAccessor Members

Include Protected Members
Include Inherited Members

This is a primary interface in a COM coclass that is required by managed code for interoperability with the corresponding COM object. Use this primary interface only when the method you want to use shares the same name as an event of the COM object; in this case, cast to this interface to call the method, and cast to the latest events interface to connect to the event. Otherwise, use the .NET interface that is derived from the COM coclass to access methods, properties, and events of the COM object. For information about the COM object, see PropertyAccessor.

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.
Public property Class Returns a constant in the OlObjectClass enumeration indicating the class of the PropertyAccessor object. Read-only.
Public property Parent Returns the parent object of the PropertyAccessor object. Read-only.
Public property Session Returns the NameSpace object for the current session. Read-only.

Top

Methods

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

Top

See Also

Reference

_PropertyAccessor Interface

Microsoft.Office.Interop.Outlook Namespace