UCOMIMoniker Interfaccia
Definizione
Avviso
Questa API è ora obsoleta.
public interface class UCOMIMoniker
[System.Obsolete]
[System.Runtime.InteropServices.Guid("0000000f-0000-0000-c000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
[System.Runtime.InteropServices.Guid("0000000f-0000-0000-C000-000000000046")]
[System.Obsolete("Use System.Runtime.InteropServices.ComTypes.IMoniker instead. https://go.microsoft.com/fwlink/?linkid=14202", false)]
public interface UCOMIMoniker
type UCOMIMoniker = interface
Public Interface UCOMIMoniker
- Attributi
Commenti
Per ulteriori informazioni sulle interfacce IMoniker
, IPersist
e IPersistStream
, vedere MSDN Library.For more information about the IMoniker
, IPersist
, and IPersistStream
interfaces, see the MSDN Library.
Metodi
BindToObject(UCOMIBindCtx, UCOMIMoniker, Guid, Object) |
Utilizza il moniker da associare all'oggetto che identifica.Uses the moniker to bind to the object it identifies. |
BindToStorage(UCOMIBindCtx, UCOMIMoniker, Guid, Object) |
Recupera un puntatore di interfaccia all'archiviazione che contiene l'oggetto identificato dal moniker.Retrieves an interface pointer to the storage that contains the object identified by the moniker. |
CommonPrefixWith(UCOMIMoniker, UCOMIMoniker) |
Crea un nuovo moniker in base al prefisso comune che il moniker condivide con un altro.Creates a new moniker based on the common prefix that this moniker shares with another moniker. |
ComposeWith(UCOMIMoniker, Boolean, UCOMIMoniker) |
Combina il moniker corrente con un altro, creando un nuovo moniker composito.Combines the current moniker with another moniker, creating a new composite moniker. |
Enum(Boolean, UCOMIEnumMoniker) |
Fornisce un puntatore a un enumeratore in grado di enumerare i componenti di un moniker composito.Supplies a pointer to an enumerator that can enumerate the components of a composite moniker. |
GetClassID(Guid) |
Recupera l'identificatore di classe (CLSID) di un oggetto.Retrieves the class identifier (CLSID) of an object. |
GetDisplayName(UCOMIBindCtx, UCOMIMoniker, String) |
Ottiene il nome visualizzato, ossia una rappresentazione del moniker leggibile dall'utente.Gets the display name, which is a user-readable representation of this moniker. |
GetSizeMax(Int64) |
Restituisce la dimensione, in byte, del flusso necessario per salvare l'oggetto.Returns the size in bytes of the stream needed to save the object. |
GetTimeOfLastChange(UCOMIBindCtx, UCOMIMoniker, FILETIME) |
Fornisce un numero che rappresenta l'ora dell'ultima modifica apportata all'oggetto identificato dal moniker.Provides a number representing the time the object identified by this moniker was last changed. |
Hash(Int32) |
Calcola un intero a 32 bit utilizzando lo stato interno del moniker.Calculates a 32-bit integer using the internal state of the moniker. |
Inverse(UCOMIMoniker) |
Fornisce un moniker che, quando composto a destra del moniker corrente o di uno con struttura analoga, risulta in una composizione nulla.Provides a moniker that, when composed to the right of this moniker or one of similar structure, composes to nothing. |
IsDirty() |
Verifica se l'oggetto ha subito modifiche dall'ultimo salvataggio.Checks the object for changes since it was last saved. |
IsEqual(UCOMIMoniker) |
Confronta il moniker con un moniker specificato e indica se sono identici.Compares this moniker with a specified moniker and indicates whether they are identical. |
IsRunning(UCOMIBindCtx, UCOMIMoniker, UCOMIMoniker) |
Determina se l'oggetto identificato dal moniker è attualmente caricato e in esecuzione.Determines whether the object that is identified by this moniker is currently loaded and running. |
IsSystemMoniker(Int32) |
Indica se il moniker corrente è uno dei moniker delle classi di moniker fornite dal sistema.Indicates whether this moniker is of one of the system-supplied moniker classes. |
Load(UCOMIStream) |
Inizializza un oggetto dal flusso in cui è stato salvato in precedenza.Initializes an object from the stream where it was previously saved. |
ParseDisplayName(UCOMIBindCtx, UCOMIMoniker, String, Int32, UCOMIMoniker) |
Legge il massimo numero di caratteri del nome visualizzato specificato che è in grado di comprendere e compila un moniker corrispondente alla porzione letta.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) |
Restituisce un moniker ridotto corrispondente a un altro moniker che fa riferimento allo stesso oggetto del moniker corrente ma che può essere associato con efficacia pari o maggiore.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) |
Fornisce un moniker che, quando aggiunto a quello corrente o a uno con struttura analoga, produce il moniker specificato.Supplies a moniker that, when appended to this moniker (or one with a similar structure), yields the specified moniker. |
Save(UCOMIStream, Boolean) |
Salva un oggetto nel flusso specificato.Saves an object to the specified stream. |