UCOMIMoniker Interface


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Note: This API is now obsolete. Namespace:   System.Runtime.InteropServices
Assembly:  mscorlib (in mscorlib.dll)

<ObsoleteAttribute("Use System.Runtime.InteropServices.ComTypes.IMoniker instead. http://go.microsoft.com/fwlink/?linkid=14202",
Public Interface UCOMIMoniker

System_CAPS_pubmethodBindToObject(UCOMIBindCtx, UCOMIMoniker, Guid, Object)

Uses the moniker to bind to the object it identifies.

System_CAPS_pubmethodBindToStorage(UCOMIBindCtx, UCOMIMoniker, Guid, Object)

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

System_CAPS_pubmethodCommonPrefixWith(UCOMIMoniker, UCOMIMoniker)

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

System_CAPS_pubmethodComposeWith(UCOMIMoniker, Boolean, UCOMIMoniker)

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

System_CAPS_pubmethodEnum(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.

System_CAPS_pubmethodGetDisplayName(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.

System_CAPS_pubmethodGetTimeOfLastChange(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.

System_CAPS_pubmethodIsRunning(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.

System_CAPS_pubmethodParseDisplayName(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.

System_CAPS_pubmethodReduce(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.

System_CAPS_pubmethodRelativePathTo(UCOMIMoniker, UCOMIMoniker)

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

System_CAPS_pubmethodSave(UCOMIStream, Boolean)

Saves an object to the specified stream.

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

.NET Framework
Available since 1.1
Return to top