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

Definição

Devolve um moniker reduzido, que é outro moniker que se refere ao mesmo objeto do nome atual, mas pode ser limitado com igual ou maior eficiência.

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

Uma referência à IBindCtx interface no contexto de ligação a usar nesta operação de ligação.

dwReduceHowFar
Int32

Um valor que especifica até que ponto o nome atual deve ser reduzido.

ppmkToLeft
IMoniker

Uma referência ao nome à esquerda do nome atual.

ppmkReduced
IMoniker

Quando este método regressa, contém uma referência à forma reduzida do nome atual, o que pode acontecer null se ocorrer um erro ou se o nome atual for reduzido a nada. Este parâmetro é passado sem inicializar.

Observações

Para mais informações, consulte o método IMoniker::Reduce.

Aplica-se a