Edit

Share via


_PropertyAccessor Interface

Definition

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.

public interface class _PropertyAccessor
[System.Runtime.InteropServices.Guid("0006302D-0000-0000-C000-000000000046")]
public interface _PropertyAccessor
Public Interface _PropertyAccessor
Derived
Attributes

Properties

Application

Returns the Application object that represents the parent application (Outlook) for the PropertyAccessor object. Read-only.

Class

Returns a constant in the OlObjectClass enumeration indicating the class of the PropertyAccessor object. Read-only.

Parent

Returns the parent object of the PropertyAccessor object. Read-only.

Session

Returns the NameSpace object for the current session. Read-only.

Methods

BinaryToString(Object)

Converts the array of bytes specified by Value to a String (string in C#).

DeleteProperties(Object)

Deletes the properties specified in the array SchemaNames.

DeleteProperty(String)

Deletes the property specified by SchemaName.

GetProperties(Object)

Obtains the values of the properties specified by the one-dimensional array SchemaNames.

GetProperty(String)

Returns an Object that represents the value of the property specified by SchemaName.

LocalTimeToUTC(DateTime)

Converts a DateTime value specified by Value from the local time format to Coordinated Universal Time (UTC) format.

SetProperties(Object, Object)

Sets the properties specified by the array SchemaNames to the values specified by the array Values.

SetProperty(String, Object)

Sets the property specified by SchemaName to the value specified by Value.

StringToBinary(String)

Converts a string specified by Value to an array of bytes.

UTCToLocalTime(DateTime)

Converts the DateTime value that is specified by Value and expressed in Coordinated Universal Time (UTC) to a value in local time.

Applies to