編輯

共用方式為


_Store Interface

Definition

This is a primary interface in a COM coclass that is required by managed code for interoperability with the corresponding COM object. Use this primary interface only when the method you want to use shares the same name as an event of the COM object; in this case, cast to this interface to call the method, and cast to the latest events interface to connect to the event. Otherwise, use the .NET interface that is derived from the COM coclass to access methods, properties, and events of the COM object. For information about the COM object, see Store.

public interface class _Store
[System.Runtime.InteropServices.Guid("000630C7-0000-0000-C000-000000000046")]
public interface _Store
Public Interface _Store
Derived
Attributes

Properties

Application

Returns an Application object that represents the parent Outlook application for the object. Read-only.

Categories

Returns a Categories collection that represents all of the categories that are defined for the Store. Read-only.

Class

Returns an OlObjectClass constant indicating the object's class. Read-only.

DisplayName

Returns a String (string in C#) representing the display name of the Store object. Read-only.

ExchangeStoreType

Returns a constant in the OlExchangeStoreType enumeration that indicates the type of an Exchange store. Read-only.

FilePath

Returns a String (string in C#) representing the full file path for a Personal Folders File (.pst) or an Offline Folder File (.ost) store. Read-only.

IsCachedExchange

Returns a Boolean (bool in C#) that indicates if the Store is a cached Exchange store. Read-only.

IsConversationEnabled

Returns a Boolean (bool for C#) value that is True if the store supports the Conversation view. Read-only.

IsDataFileStore

Returns a Boolean (bool in C#) that indicates if the Store is a store for an Outlook data file, which is either a Personal Folders File (.pst) or an Offline Folder File (.ost). Read-only.

IsInstantSearchEnabled

Returns a Boolean (bool in C#) that indicates whether Instant Search is enabled and operational on a store. Read-only.

IsOpen

Returns a Boolean (bool in C#) that indicates if the Store is open. Read-only.

MAPIOBJECT

This object, member, or enumeration is deprecated and is not intended to be used in your code.

Parent

Returns the parent Object of the specified object. Read-only.

PropertyAccessor

Returns a PropertyAccessor object that supports creating, getting, setting, and deleting properties of the parent Store object. Read-only.

Session

Returns the NameSpace object for the current session. Read-only.

StoreID

Returns a String (string in C#) identifying the Store. Read-only.

Methods

GetDefaultFolder(OlDefaultFolders)

Returns a MAPIFolder object that represents the default folder in the store and that is of the type specified by the FolderType argument.

GetRootFolder()

Returns a Folder object representing the root-level folder of the Store. Read-only.

GetRules()

Returns a Rules collection object that contains the Rule objects defined for the current session.

GetSearchFolders()

Returns a Folders collection object that represents the search folders defined for the Store object.

GetSpecialFolder(OlSpecialFolders)

Returns a Folder object for a special folder specified by FolderType in a given store.

RefreshQuotaDisplay()

Refreshes the store quota information that is displayed in the status bar in the explorer window.

Applies to