Locating a view or folder

If you know the name of the view or folder, specify it in the GetView method of NotesDatabase. The view or folder name must be specified exactly, including cascades; for example, "Certificates and ID Information\Cross Certificates" must be specified exactly.

If the name has an alias, you can specify either the name or the alias. For example, if a view name is By Author and the alias is AuthorView, you can specify it as either of the following:

"By Author"

However, you cannot specify both the name and the alias with the "or" character. For example, "By Author | AuthorView" is illegal.

If you don't know the name of the view or folder, you can compare each view and folder in the Views property of NotesDatabase with one of the NotesView properties, for example, IsDefaultView or UniversalID.