_Results.SetColumns(String) Method

Definition

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

public:
 void SetColumns(System::String ^ Columns);
public void SetColumns (string Columns);
Public Sub SetColumns (Columns As String)

Parameters

Columns
String

Remarks

The SetColumns method is useful for iterating through the Results object. If you don't use this method, Microsoft Outlook must open each item to access the property. With the SetColumns method, Outlook only checks the properties that you have cached. Properties which are not cached are returned empty.

Applies to