IMoniker.Reduce(IBindCtx, Int32, IMoniker, IMoniker) Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
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);
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.