Share via


Interfaz UCOMIMoniker

 

Publicado: noviembre de 2016

Nota: Esta API ahora está obsoleta.

Utilice System.Runtime.InteropServices.ComTypes.IMoniker en su lugar.

Espacio de nombres:   System.Runtime.InteropServices
Ensamblado:  mscorlib (en mscorlib.dll)

Sintaxis

[ObsoleteAttribute("Use System.Runtime.InteropServices.ComTypes.IMoniker instead. https://go.microsoft.com/fwlink/?linkid=14202", 
    false)]
[GuidAttribute("0000000f-0000-0000-C000-000000000046")]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
public interface UCOMIMoniker
[ObsoleteAttribute("Use System.Runtime.InteropServices.ComTypes.IMoniker instead. https://go.microsoft.com/fwlink/?linkid=14202", 
    false)]
[GuidAttribute("0000000f-0000-0000-C000-000000000046")]
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
public interface class UCOMIMoniker
[<ObsoleteAttribute("Use System.Runtime.InteropServices.ComTypes.IMoniker instead. https://go.microsoft.com/fwlink/?linkid=14202",
    false)>]
[<GuidAttribute("0000000f-0000-0000-C000-000000000046")>]
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>]
type UCOMIMoniker = interface end
<ObsoleteAttribute("Use System.Runtime.InteropServices.ComTypes.IMoniker instead. https://go.microsoft.com/fwlink/?linkid=14202",
    False)>
<GuidAttribute("0000000f-0000-0000-C000-000000000046")>
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>
Public Interface UCOMIMoniker

Métodos

Nombre Descripción
System_CAPS_pubmethod BindToObject(UCOMIBindCtx, UCOMIMoniker, Guid, Object)

Utiliza el moniker para enlazar el objeto que identifica.

System_CAPS_pubmethod BindToStorage(UCOMIBindCtx, UCOMIMoniker, Guid, Object)

Recupera un puntero de interfaz al almacenamiento que contiene el objeto identificado por el moniker.

System_CAPS_pubmethod CommonPrefixWith(UCOMIMoniker, UCOMIMoniker)

Crea un nuevo moniker basado en el prefijo común que el moniker comparte con otro moniker.

System_CAPS_pubmethod ComposeWith(UCOMIMoniker, Boolean, UCOMIMoniker)

Combina el moniker actual con otro moniker, creando un nuevo moniker compuesto.

System_CAPS_pubmethod Enum(Boolean, UCOMIEnumMoniker)

Proporciona un puntero a un enumerador que puede enumerar los componentes de un moniker compuesto.

System_CAPS_pubmethod GetClassID(Guid)

Recupera el identificador de clase (CLSID) de un objeto.

System_CAPS_pubmethod GetDisplayName(UCOMIBindCtx, UCOMIMoniker, String)

Obtiene el nombre para mostrar, que es una representación legible para el usuario de este moniker.

System_CAPS_pubmethod GetSizeMax(Int64)

Devuelve el tamaño en bytes de la secuencia necesaria para guardar el objeto.

System_CAPS_pubmethod GetTimeOfLastChange(UCOMIBindCtx, UCOMIMoniker, FILETIME)

Proporciona un número que representa la hora en que se modificó por última vez el objeto identificado por este moniker.

System_CAPS_pubmethod Hash(Int32)

Calcula un entero de 32 bits utilizando el estado interno del moniker.

System_CAPS_pubmethod Inverse(UCOMIMoniker)

Proporciona un moniker que, cuando se compone a la derecha de este moniker o de uno de estructura similar, no crea.

System_CAPS_pubmethod IsDirty()

Comprueba los cambios en el objeto debido a que se guardó por última vez.

System_CAPS_pubmethod IsEqual(UCOMIMoniker)

Compara este moniker con un moniker especificado e indica si son idénticos.

System_CAPS_pubmethod IsRunning(UCOMIBindCtx, UCOMIMoniker, UCOMIMoniker)

Determina si el objeto identificado por este moniker está actualmente cargado y en ejecución.

System_CAPS_pubmethod IsSystemMoniker(Int32)

Indica si este moniker es de una de las clases moniker suministradas por el sistema.

System_CAPS_pubmethod Load(UCOMIStream)

Inicializa un objeto de la secuencia donde se guardó anteriormente.

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

Lee el número de caracteres del nombre para mostrar especificado comprende y genera un moniker correspondiente a la parte leída.

System_CAPS_pubmethod Reduce(UCOMIBindCtx, Int32, UCOMIMoniker, UCOMIMoniker)

Devuelve un moniker reducido que es otro moniker que hace referencia al mismo objeto que este moniker pero puede enlazarse con igual o mayor eficiencia.

System_CAPS_pubmethod RelativePathTo(UCOMIMoniker, UCOMIMoniker)

Proporciona un moniker que, cuando se anexa a este moniker (o uno con una estructura similar), ofrece el moniker especificado.

System_CAPS_pubmethod Save(UCOMIStream, Boolean)

Guarda un objeto en la secuencia especificada.

Comentarios

Para obtener más información acerca de la IMoniker, IPersist, y IPersistStream interfaces, vea MSDN Library.

Información de versión

.NET Framework
Disponible desde 1.1

Ver también

Espacio de nombres System.Runtime.InteropServices

Volver al principio