Muokkaa

Jaa


UCOMIMoniker Interface

Definition

Caution

Use System.Runtime.InteropServices.ComTypes.IMoniker instead. http://go.microsoft.com/fwlink/?linkid=14202

Use IMoniker instead.

public interface class UCOMIMoniker
[System.Runtime.InteropServices.Guid("0000000f-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface UCOMIMoniker
[System.Runtime.InteropServices.Guid("0000000f-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
[System.Obsolete("Use System.Runtime.InteropServices.ComTypes.IMoniker instead. http://go.microsoft.com/fwlink/?linkid=14202", false)]
public interface UCOMIMoniker
[<System.Runtime.InteropServices.Guid("0000000f-0000-0000-C000-000000000046")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type UCOMIMoniker = interface
[<System.Runtime.InteropServices.Guid("0000000f-0000-0000-C000-000000000046")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
[<System.Obsolete("Use System.Runtime.InteropServices.ComTypes.IMoniker instead. http://go.microsoft.com/fwlink/?linkid=14202", false)>]
type UCOMIMoniker = interface
Public Interface UCOMIMoniker
Attributes

Remarks

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

Methods

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.

GetClassID(Guid)

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.

GetSizeMax(Int64)

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.

Hash(Int32)

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

Inverse(UCOMIMoniker)

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

IsDirty()

Checks the object for changes since it was last saved.

IsEqual(UCOMIMoniker)

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.

IsSystemMoniker(Int32)

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

Load(UCOMIStream)

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