FolderInfo.GetPredefinedType

FolderInfo.GetPredefinedType method

Gets which standard Outlook folder, such as Inbox or Sent Items, this folder is.

public StandardIpmFolder GetPredefinedType(bool getForTopLevelParent)
ParameterTypeDescription
getForTopLevelParentBooleantrue to check the top-level folder this folder belongs to, which tells whether it is inside a standard folder; false to check this folder itself.

Return Value

The StandardIpmFolder value, or StandardIpmFolder.Unspecified if the folder is not a standard one.

Remarks

Use it to find out whether a folder is, or lies inside, one of the standard Outlook folders.

See Also