Lenguaje

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

Definición

Devuelve un moniker reducido, que es otro moniker que hace referencia al mismo objeto que el moniker actual, pero se puede enlazar con una eficacia igual o mayor.

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)

Parámetros

pbc
IBindCtx

Referencia a la IBindCtx interfaz en el contexto de enlace que se va a usar en esta operación de enlace.

dwReduceHowFar
Int32

Valor que especifica hasta qué punto se debe reducir el moniker actual.

ppmkToLeft
IMoniker

Referencia al moniker a la izquierda del moniker actual.

ppmkReduced
IMoniker

Cuando este método devuelve, contiene una referencia a la forma reducida del moniker actual, que puede ser null si se produce un error o si el moniker actual se reduce a nada. Este parámetro se pasa sin inicializar.

Comentarios

Para obtener más información, vea Método IMoniker::Reduce.

Se aplica a