Compartilhar via


Interface UCOMIMoniker

 

Dica

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

Observação: Esta API agora está obsoleta.

Use System.Runtime.InteropServices.ComTypes.IMoniker em seu lugar.

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

Sintaxe

[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

Nome Descrição
System_CAPS_pubmethod BindToObject(UCOMIBindCtx, UCOMIMoniker, Guid, Object)

Usa o moniker para associar o objeto que identifica.

System_CAPS_pubmethod BindToStorage(UCOMIBindCtx, UCOMIMoniker, Guid, Object)

Recupera um ponteiro de interface para o armazenamento que contém o objeto identificado pelo moniker.

System_CAPS_pubmethod CommonPrefixWith(UCOMIMoniker, UCOMIMoniker)

Cria um novo moniker com base no prefixo comum que esse moniker compartilha com outro moniker.

System_CAPS_pubmethod ComposeWith(UCOMIMoniker, Boolean, UCOMIMoniker)

Combina o moniker atual com outro moniker, criando um novo moniker de composição.

System_CAPS_pubmethod Enum(Boolean, UCOMIEnumMoniker)

Fornece um ponteiro a um enumerador que pode enumerar os componentes de um moniker de composição.

System_CAPS_pubmethod GetClassID(Guid)

Recupera o CLSID (identificador de classe) de um objeto.

System_CAPS_pubmethod GetDisplayName(UCOMIBindCtx, UCOMIMoniker, String)

Obtém o nome de exibição, que é uma representação legível para o usuário desse moniker.

System_CAPS_pubmethod GetSizeMax(Int64)

Retorna o tamanho em bytes do fluxo necessário para salvar o objeto.

System_CAPS_pubmethod GetTimeOfLastChange(UCOMIBindCtx, UCOMIMoniker, FILETIME)

Fornece um número que representa a hora em que o objeto identificado por esse moniker foi alterado pela última vez.

System_CAPS_pubmethod Hash(Int32)

Calcula um inteiro de 32 bits usando o estado interno do moniker.

System_CAPS_pubmethod Inverse(UCOMIMoniker)

Fornece um moniker que, quando composto à direita desse moniker ou de uma estrutura semelhante, compõe com nada.

System_CAPS_pubmethod IsDirty()

Verifica se há alterações no objeto desde que foi salvo pela última vez.

System_CAPS_pubmethod IsEqual(UCOMIMoniker)

Compara esse moniker com um moniker especificado e indica se eles são idênticos.

System_CAPS_pubmethod IsRunning(UCOMIBindCtx, UCOMIMoniker, UCOMIMoniker)

Determina se o objeto identificado por esse moniker está sendo carregado e executado.

System_CAPS_pubmethod IsSystemMoniker(Int32)

Indica se esse moniker é de uma das classes moniker fornecidas pelo sistema.

System_CAPS_pubmethod Load(UCOMIStream)

Inicializa um objeto do fluxo de onde ele foi salvo anteriormente.

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

Lê caracteres do nome de exibição especificado que entende e cria um moniker correspondente à parte lida.

System_CAPS_pubmethod Reduce(UCOMIBindCtx, Int32, UCOMIMoniker, UCOMIMoniker)

Retorna um moniker reduzido que é outro moniker que se refere ao mesmo objeto desse moniker, mas pode ser associado com eficiência igual ou maior.

System_CAPS_pubmethod RelativePathTo(UCOMIMoniker, UCOMIMoniker)

Fornece um moniker que, quando anexado a esse moniker (ou uma com uma estrutura semelhante), gera o moniker especificado.

System_CAPS_pubmethod Save(UCOMIStream, Boolean)

Salva um objeto no fluxo especificado.

Comentários

Para obter mais informações sobre o IMoniker, IPersist, e IPersistStream interfaces, consulte a biblioteca MSDN.

Informações de Versão

.NET Framework
Disponível desde 1.1

Confira Também

Namespace System.Runtime.InteropServices

Retornar ao início