GetDefaultView method

Returns the shared view information settings.

Syntax


C++

HRESULT GetDefaultView(
   ERUItemBoxView* View,
   ERUItemBoxField* Field,
   ERUSortOrder*
SortOrder,
   VARIANT_BOOL*
pGetDefaultView
)

Scripting languages

Use the GetDefaultView2 method.

Parameters


View

On return, whether the item box should be displayed in icon, list, or detailed mode, as an ERUItemBoxView enum.

Field

On return, indicates which is the sort column, as an ERUItemBoxField enum.

SortOrder

On return, whether the sort column should sort in ascending or descending order, as an ERUSortOrder enum.

pGetDefaultView

Returns TRUE if there are values. Otherwise, returns FALSE.

Return value


C++

The return code.

Scripting languages

Upon return, the view, sort column, and sort order shared view settings.

 

Home

Applies to

IERUContainer