This documentation is archived and is not being maintained.

UCOMIMoniker Interface

Note: This API is now obsolete.

Namespace:  System.Runtime.InteropServices
Assembly:  mscorlib (in mscorlib.dll)

[ObsoleteAttribute("Use System.Runtime.InteropServices.ComTypes.IMoniker instead.", 
public interface UCOMIMoniker

The UCOMIMoniker type exposes the following members.

Public methodBindToObjectUses the moniker to bind to the object it identifies.
Public methodBindToStorageRetrieves an interface pointer to the storage that contains the object identified by the moniker.
Public methodCommonPrefixWithCreates a new moniker based on the common prefix that this moniker shares with another moniker.
Public methodComposeWithCombines the current moniker with another moniker, creating a new composite moniker.
Public methodEnumSupplies a pointer to an enumerator that can enumerate the components of a composite moniker.
Public methodGetClassIDRetrieves the class identifier (CLSID) of an object.
Public methodGetDisplayNameGets the display name, which is a user-readable representation of this moniker.
Public methodGetSizeMaxReturns the size in bytes of the stream needed to save the object.
Public methodGetTimeOfLastChangeProvides a number representing the time the object identified by this moniker was last changed.
Public methodHashCalculates a 32-bit integer using the internal state of the moniker.
Public methodInverseProvides a moniker that, when composed to the right of this moniker or one of similar structure, composes to nothing.
Public methodIsDirtyChecks the object for changes since it was last saved.
Public methodIsEqualCompares this moniker with a specified moniker and indicates whether they are identical.
Public methodIsRunningDetermines whether the object that is identified by this moniker is currently loaded and running.
Public methodIsSystemMonikerIndicates whether this moniker is of one of the system-supplied moniker classes.
Public methodLoadInitializes an object from the stream where it was previously saved.
Public methodParseDisplayNameReads as many characters of the specified display name as it understands and builds a moniker corresponding to the portion read.
Public methodReduceReturns 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.
Public methodRelativePathToSupplies a moniker that, when appended to this moniker (or one with a similar structure), yields the specified moniker.
Public methodSaveSaves an object to the specified stream.

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

.NET Framework

Supported in: 1.1, 1.0
Obsolete (compiler warning) in 4
Obsolete (compiler warning) in 3.5
Obsolete (compiler warning) in 3.5 SP1
Obsolete (compiler warning) in 3.0
Obsolete (compiler warning) in 3.0 SP1
Obsolete (compiler warning) in 3.0 SP2
Obsolete (compiler warning) in 2.0
Obsolete (compiler warning) in 2.0 SP1
Obsolete (compiler warning) in 2.0 SP2

.NET Framework Client Profile

Obsolete (compiler warning) in 4
Obsolete (compiler warning) in 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.