Results Results Results Interface

Definition

Contains data and results returned by the Search object and the AdvancedSearch(String, Object, Object, Object) method.

public interface class Results : Microsoft::Office::Interop::Outlook::_Results, Microsoft::Office::Interop::Outlook::ResultsEvents_Event
[System.Runtime.InteropServices.Guid("0006300C-0000-0000-C000-000000000046")]
public interface Results : Microsoft.Office.Interop.Outlook._Results, Microsoft.Office.Interop.Outlook.ResultsEvents_Event
Public Interface Results
Implements _Results, ResultsEvents_Event
Derived
Attributes
Implements

Remarks

This is a .NET interface derived from a COM coclass that is required by managed code for interoperability with the corresponding COM object. Use this derived interface to access all method, property, and event members of the COM object. However, if a method or event you want to use shares the same name under the same COM object, cast to the corresponding primary interface to call the method, and cast to the latest events interface to connect to the event. Refer to this topic for information about the COM object. For information about the method and property members of the COM object, see _Results. For information about the event members of the COM object, see ResultsEvents_Event.

The Results object contains properties and methods that allow you to view and manipulate data. For example the GetNext(), GetPrevious(), GetFirst(), and GetLast() methods allow you to search through the results and view the data by field. The Sort(String, Object) method allows you to sort the data.

Use the SearchObject.Results property to return a Results object.

Properties

Application Application Application

Returns an Application object that represents the parent Outlook application for the object. Read-only.

(Inherited from _Results)

Class Class Class

Returns an OlObjectClass constant indicating the object's class. Read-only.

(Inherited from _Results)

Count Count Count

Returns an Integer (int in C#) value indicating the count of objects in the specified collection. Read-only.

(Inherited from _Results)

DefaultItemType DefaultItemType DefaultItemType

Returns an OlItemType constant indicating the default Outlook item type contained in the folder. Read/write.

(Inherited from _Results)

Item[Object] Item[Object] Item[Object]

Returns an Outlook item from a collection.

(Inherited from _Results)

Parent Parent Parent

Returns the parent Object of the specified object. Read-only.

(Inherited from _Results)

RawTable RawTable RawTable

This object, member, or enumeration is deprecated and is not intended to be used in your code.

(Inherited from _Results)

Session Session Session

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

(Inherited from _Results)

Methods

GetFirst() GetFirst() GetFirst()

Returns the first object in the collection.

(Inherited from _Results)

GetLast() GetLast() GetLast()

Returns the last object in the collection.

(Inherited from _Results)

GetNext() GetNext() GetNext()

Returns the next object in the collection.

(Inherited from _Results)

GetPrevious() GetPrevious() GetPrevious()

Returns the previous object in the collection.

(Inherited from _Results)

ResetColumns() ResetColumns() ResetColumns()

Clears the properties that have been cached with the SetColumns(String) method.

(Inherited from _Results)

SetColumns(String) SetColumns(String) SetColumns(String)

Caches certain properties for extremely fast access to those particular properties of an item within the collection.

(Inherited from _Results)

Sort(String, Object) Sort(String, Object) Sort(String, Object)

Sorts the collection of items by the specified property. The index for the collection is reset to 1 upon completion of this method.

(Inherited from _Results)

Events

ItemAdd ItemAdd ItemAdd

Occurs when one or more items are added to the specified collection.

(Inherited from ResultsEvents_Event)

ItemChange ItemChange ItemChange

Occurs when an item in the specified collection is changed.

(Inherited from ResultsEvents_Event)

ItemRemove ItemRemove ItemRemove

Occurs when an item is deleted from the specified collection.

(Inherited from ResultsEvents_Event)

Applies to