Uređivanje

Dijeli putem


UCOMIMoniker.Reduce(UCOMIBindCtx, Int32, UCOMIMoniker, UCOMIMoniker) Method

Definition

Returns a reduced moniker which is another moniker that refers to the same object as this moniker but can be bound with equal or greater efficiency.

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)

Parameters

pbc
UCOMIBindCtx

A reference to the IBindCtx interface on the bind context to be used in this binding operation.

dwReduceHowFar
Int32

Specifies how far this moniker should be reduced.

ppmkToLeft
UCOMIMoniker

A reference to the moniker to the left of this moniker.

ppmkReduced
UCOMIMoniker

On successful return, a reference to the reduced form of this moniker, which can be null if an error occurs or if this moniker is reduced to nothing.

Remarks

For more information about IMoniker::Reduce, see the MSDN Library.

Applies to