API Reference
EmailStoreFolderCatalog
Indexed, cycle-safe navigation over the lightweight folder catalog of one open store.
Inheritance
- Object
- EmailStoreFolderCatalog
Usage
Explore 1 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 1
- Property EmailStoreSession.FolderCatalog
Methods
public EmailStoreFolderInfo? FindSpecialFolder(EmailStoreSpecialFolderKind kind) #EmailStoreFolderInfo?Returns the single matching well-known folder, or null; throws if the role is ambiguous.
Parameters
- kind OfficeIMO.Email.Store.EmailStoreSpecialFolderKind
public IReadOnlyList<EmailStoreFolderInfo> FindSpecialFolders(EmailStoreSpecialFolderKind kind) #IReadOnlyList<EmailStoreFolderInfo>Gets every folder classified with the requested well-known role.
Parameters
- kind OfficeIMO.Email.Store.EmailStoreSpecialFolderKind
public EmailStoreFolderInfo Get(EmailStoreFolderId id) #EmailStoreFolderInfoGets one folder or throws when the identifier is not in this store.
Parameters
- id OfficeIMO.Email.Store.EmailStoreFolderId
public IReadOnlyList<EmailStoreFolderInfo> GetChildren(EmailStoreFolderId id) #IReadOnlyList<EmailStoreFolderInfo>Gets immediate children in source order.
Parameters
- id OfficeIMO.Email.Store.EmailStoreFolderId
public IReadOnlyList<EmailStoreFolderInfo> GetDescendants(EmailStoreFolderId id, Int32 maxFolders = 100000) #IReadOnlyList<EmailStoreFolderInfo>Enumerates descendants breadth-first, bounded and protected from source cycles.
Parameters
- id OfficeIMO.Email.Store.EmailStoreFolderId
- maxFolders System.Int32 = 100000
public EmailStoreFolderInfo? GetParent(EmailStoreFolderId id) #EmailStoreFolderInfo?Gets the resolvable parent, or null for a root or dangling source parent.
Parameters
- id OfficeIMO.Email.Store.EmailStoreFolderId
public IReadOnlyList<EmailStoreFolderInfo> GetPath(EmailStoreFolderId id, Int32 maxDepth = 1024) #IReadOnlyList<EmailStoreFolderInfo>Gets the root-to-folder path, stopping safely if corrupt parent links form a cycle.
Parameters
- id OfficeIMO.Email.Store.EmailStoreFolderId
- maxDepth System.Int32 = 1024
public Boolean TryGet(EmailStoreFolderId id, out EmailStoreFolderInfo? folder) #BooleanAttempts to get one folder.
Parameters
- id OfficeIMO.Email.Store.EmailStoreFolderId
- folder OfficeIMO.Email.Store.EmailStoreFolderInfo?
Inherited Methods
public virtual Boolean Equals(Object? obj) #BooleanParameters
- obj Object?