UCOMIMoniker.Reduce(UCOMIBindCtx, Int32, UCOMIMoniker, UCOMIMoniker) Méthode

Définition

Retourne un moniker réduit correspondant à un autre moniker qui se réfère au même objet que ce moniker mais peut être lié avec une efficacité équivalente 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 le niveau de réduction souhaité pour ce moniker.

ppmkToLeft
UCOMIMoniker

Référence au moniker à gauche de ce moniker.

ppmkReduced
UCOMIMoniker

Lors d'un retour, référence à la forme réduite de ce moniker, pouvant être null si une erreur se produit ou si ce moniker est réduit à une taille nulle.

Remarques

Pour plus d’informations sur IMoniker::Reduce, consultez MSDN Library.

S’applique à