IMoniker.Reduce(IBindCtx, Int32, IMoniker, IMoniker) Metoda

Definice

Vrátí zmenšený moniker, což je další moniker, který odkazuje na stejný objekt jako aktuální moniker, ale může být vázán se stejnou nebo vyšší účinností.

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)

Parametry

pbc
IBindCtx

Odkaz na IBindCtx rozhraní v kontextu vazby, který se má použít v této operaci vazby.

dwReduceHowFar
Int32

Hodnota, která určuje, jak daleko má být aktuální moniker zmenšen.

ppmkToLeft
IMoniker

Odkaz na moniker nalevo od aktuálního monikeru.

ppmkReduced
IMoniker

Když tato metoda vrátí, obsahuje odkaz na redukovanou formu aktuálního monikeru, což může být null v případě, že dojde k chybě nebo pokud aktuální moniker je redukován na nic. Tento parametr se předává neinicializovaný.

Poznámky

Další informace najdete v tématu Metoda IMoniker::Reduce.

Platí pro