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

Definición

Devuelve un moniker reducido, es decir, un moniker que, haciendo referencia al mismo objeto que el moniker actual, puede enlazarse con igual o más eficiencia.

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 interfaz IBindCtx en el objeto de contexto que se ha de utilizar en esta operación de enlace.

dwReduceHowFar
Int32

Valor que especifica en qué medida ha de reducirse el moniker actual.

ppmkToLeft
IMoniker

Referencia al moniker a la izquierda del actual.

ppmkReduced
IMoniker

El resultado que devuelve este método contiene una referencia a la forma reducida del moniker actual; ésta podría ser null en caso de que se produzca un error o de que el moniker quede reducido a nada. Este parámetro se pasa sin inicializar.

Comentarios

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

Se aplica a