IMoniker Members

Provides the managed definition of the IMoniker interface, with COM functionality from IPersist and IPersistStream.

The following tables list the members exposed by the IMoniker type.

  Name Description
Public method BindToObject Uses the moniker to bind to the object that it identifies.
Public method BindToStorage Retrieves an interface pointer to the storage that contains the object identified by the moniker.
Public method CommonPrefixWith Creates a new moniker based on the common prefix that this moniker shares with another moniker.
Public method ComposeWith Combines the current moniker with another moniker, creating a new composite moniker.
Public method Enum Supplies a pointer to an enumerator that can enumerate the components of a composite moniker.
Public method GetClassID Retrieves the class identifier (CLSID) of an object.
Public method GetDisplayName Gets the display name, which is a user-readable representation of the current moniker.
Public method GetSizeMax Returns the size, in bytes, of the stream needed to save the object.
Public method GetTimeOfLastChange Provides a number representing the time that the object identified by the current moniker was last changed.
Public method Hash Calculates a 32-bit integer using the internal state of the moniker.
Public method Inverse Provides a moniker that, when composed to the right of the current moniker or one of similar structure, composes to nothing.
Public method IsDirty Checks the object for changes since it was last saved.
Public method IsEqual Compares the current moniker with a specified moniker and indicates whether they are identical.
Public method IsRunning Determines whether the object that is identified by the current moniker is currently loaded and running.
Public method IsSystemMoniker Indicates whether this moniker is of one of the system-supplied moniker classes.
Public method Load Initializes an object from the stream where it was previously saved.
Public method ParseDisplayName Reads as many characters of the specified display name as the ParseDisplayName understands and builds a moniker corresponding to the portion read.
Public method Reduce Returns a reduced moniker, which is another moniker that refers to the same object as the current moniker but can be bound with equal or greater efficiency.
Public method RelativePathTo Supplies a moniker that, when appended to the current moniker (or one with a similar structure), yields the specified moniker.
Public method Save Saves an object to the specified stream.

Community Additions