IMoniker.Reduce(IBindCtx, Int32, IMoniker, IMoniker) 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 le moniker actuel, mais peut être lié avec une efficacité égale 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);
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 qui spécifie la distance à laquelle le moniker actuel doit être réduit.
- ppmkToLeft
- IMoniker
Référence au moniker à gauche du moniker actuel.
- ppmkReduced
- IMoniker
Lorsque cette méthode est retournée, contient une référence à la forme réduite du moniker actuel, qui peut être null si une erreur se produit ou si le moniker actuel est réduit à rien. Ce paramètre est passé non initialisé.
Remarques
Pour plus d’informations, consultez la méthode IMoniker ::Reduce.