Share via


_Results.SetColumns Method

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

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Syntax

'Declaration
<DispIdAttribute()> _
Sub SetColumns ( _
    Columns As String _
)
'Usage
Dim instance As _Results
Dim Columns As String

instance.SetColumns(Columns)
[DispIdAttribute()]
void SetColumns(
    string Columns
)

Parameters

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.

See Also

Reference

_Results Interface

_Results Members

Microsoft.Office.Interop.Outlook Namespace