FolderInfo.GetPredefinedType

FolderInfo.GetPredefinedType method

Gets the type of predefined folder.

public StandardIpmFolder GetPredefinedType(bool getForTopLevelParent)
ParameterTypeDescription
getForTopLevelParentBooleanIf true, returns the predefined type for the top-level parent folder. This determines whether the current folder is a subfolder of a predefined folder. If false, it returns the predefined type for the current folder.

Return Value

The StandardIpmFolder enum value. If the folder is not predefined, it returns Unspecified

Remarks

Checks if the folder is predefined by returning the corresponding type.

See Also