UCOMIMoniker.Reduce(UCOMIBindCtx, Int32, UCOMIMoniker, UCOMIMoniker) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Retourne un moniker réduit qui est un autre moniker qui fait référence au même objet que ce moniker, mais peut être lié avec une efficacité égale ou supérieure.
public:
void Reduce(System::Runtime::InteropServices::UCOMIBindCtx ^ pbc, int dwReduceHowFar, System::Runtime::InteropServices::UCOMIMoniker ^ % ppmkToLeft, [Runtime::InteropServices::Out] System::Runtime::InteropServices::UCOMIMoniker ^ % ppmkReduced);
public void Reduce(System.Runtime.InteropServices.UCOMIBindCtx pbc, int dwReduceHowFar, ref System.Runtime.InteropServices.UCOMIMoniker ppmkToLeft, out System.Runtime.InteropServices.UCOMIMoniker ppmkReduced);
abstract member Reduce : System.Runtime.InteropServices.UCOMIBindCtx * int * UCOMIMoniker * UCOMIMoniker -> unit
Public Sub Reduce (pbc As UCOMIBindCtx, dwReduceHowFar As Integer, ByRef ppmkToLeft As UCOMIMoniker, ByRef ppmkReduced As UCOMIMoniker)
Paramètres
- pbc
- UCOMIBindCtx
Référence à l’interface IBindCtx sur le contexte de liaison à utiliser dans cette opération de liaison.
- dwReduceHowFar
- Int32
Spécifie la distance à suivre pour réduire ce moniker.
- ppmkToLeft
- UCOMIMoniker
Référence au moniker à gauche de ce moniker.
- ppmkReduced
- UCOMIMoniker
Lors d’un retour réussi, une référence à la forme réduite de ce moniker, qui peut être null si une erreur se produit ou si ce moniker est réduit à rien.
Remarques
Pour plus d’informations sur IMoniker::Reduce, consultez MSDN Library.