UCOMIMoniker Interface



This API is now obsolete.

Use IMoniker instead.

public interface class UCOMIMoniker
[System.Obsolete("Use System.Runtime.InteropServices.ComTypes.IMoniker instead. http://go.microsoft.com/fwlink/?linkid=14202", false)]
public interface UCOMIMoniker
type UCOMIMoniker = interface
Public Interface UCOMIMoniker


For more information about the IMoniker, IPersist, and IPersistStream interfaces, see the MSDN Library.


BindToObject(UCOMIBindCtx, UCOMIMoniker, Guid, Object)

Uses the moniker to bind to the object it identifies.

BindToStorage(UCOMIBindCtx, UCOMIMoniker, Guid, Object)

Retrieves an interface pointer to the storage that contains the object identified by the moniker.

CommonPrefixWith(UCOMIMoniker, UCOMIMoniker)

Creates a new moniker based on the common prefix that this moniker shares with another moniker.

ComposeWith(UCOMIMoniker, Boolean, UCOMIMoniker)

Combines the current moniker with another moniker, creating a new composite moniker.

Enum(Boolean, UCOMIEnumMoniker)

Supplies a pointer to an enumerator that can enumerate the components of a composite moniker.


Retrieves the class identifier (CLSID) of an object.

GetDisplayName(UCOMIBindCtx, UCOMIMoniker, String)

Gets the display name, which is a user-readable representation of this moniker.


Returns the size in bytes of the stream needed to save the object.

GetTimeOfLastChange(UCOMIBindCtx, UCOMIMoniker, FILETIME)

Provides a number representing the time the object identified by this moniker was last changed.


Calculates a 32-bit integer using the internal state of the moniker.


Provides a moniker that, when composed to the right of this moniker or one of similar structure, composes to nothing.


Checks the object for changes since it was last saved.


Compares this moniker with a specified moniker and indicates whether they are identical.

IsRunning(UCOMIBindCtx, UCOMIMoniker, UCOMIMoniker)

Determines whether the object that is identified by this moniker is currently loaded and running.


Indicates whether this moniker is of one of the system-supplied moniker classes.


Initializes an object from the stream where it was previously saved.

ParseDisplayName(UCOMIBindCtx, UCOMIMoniker, String, Int32, UCOMIMoniker)

Reads as many characters of the specified display name as it understands and builds a moniker corresponding to the portion read.

Reduce(UCOMIBindCtx, Int32, UCOMIMoniker, UCOMIMoniker)

Returns a reduced moniker which is another moniker that refers to the same object as this moniker but can be bound with equal or greater efficiency.

RelativePathTo(UCOMIMoniker, UCOMIMoniker)

Supplies a moniker that, when appended to this moniker (or one with a similar structure), yields the specified moniker.

Save(UCOMIStream, Boolean)

Saves an object to the specified stream.

Applies to