IMoniker.Reduce(IBindCtx, Int32, IMoniker, IMoniker) Méthode

Définition

Retourne un moniker réduit correspondant à un autre moniker qui se réfère au même objet que le moniker actuel, mais peut être lié avec une efficacité équivalente ou supérieure.

public:
 void Reduce(System::Runtime::InteropServices::ComTypes::IBindCtx ^ pbc, int dwReduceHowFar, System::Runtime::InteropServices::ComTypes::IMoniker ^ % ppmkToLeft, [Runtime::InteropServices::Out] System::Runtime::InteropServices::ComTypes::IMoniker ^ % ppmkReduced);
public void Reduce (System.Runtime.InteropServices.ComTypes.IBindCtx pbc, int dwReduceHowFar, ref System.Runtime.InteropServices.ComTypes.IMoniker ppmkToLeft, out System.Runtime.InteropServices.ComTypes.IMoniker ppmkReduced);
public void Reduce (System.Runtime.InteropServices.ComTypes.IBindCtx pbc, int dwReduceHowFar, ref System.Runtime.InteropServices.ComTypes.IMoniker? ppmkToLeft, out System.Runtime.InteropServices.ComTypes.IMoniker? ppmkReduced);
abstract member Reduce : System.Runtime.InteropServices.ComTypes.IBindCtx * int * IMoniker * IMoniker -> unit
Public Sub Reduce (pbc As IBindCtx, dwReduceHowFar As Integer, ByRef ppmkToLeft As IMoniker, ByRef ppmkReduced As IMoniker)

Paramètres

pbc
IBindCtx

Référence à l'interface IBindCtx sur le contexte de liaison à utiliser dans cette opération de liaison.

dwReduceHowFar
Int32

Valeur spécifiant l'importance de la réduction du moniker actuel.

ppmkToLeft
IMoniker

Référence au moniker à gauche du moniker actuel.

ppmkReduced
IMoniker

Lorsque cette méthode retourne une valeur, contient une référence à la forme réduite de ce moniker, pouvant être null si une erreur se produit ou si le moniker actuel est réduit à une taille nulle. Ce paramètre est passé sans être initialisé.

Remarques

Pour plus d’informations, consultez Méthode IMoniker ::Reduce.

S’applique à