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

 

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.

Namespace:   System.Runtime.InteropServices
Assembly:  mscorlib (in mscorlib.dll)

void Reduce(
	UCOMIBindCtx pbc,
	int dwReduceHowFar,
	ref UCOMIMoniker ppmkToLeft,
	out UCOMIMoniker ppmkReduced
)

Parameters

pbc
Type: System.Runtime.InteropServices.UCOMIBindCtx

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

dwReduceHowFar
Type: System.Int32

Specifies how far this moniker should be reduced.

ppmkToLeft
Type: System.Runtime.InteropServices.UCOMIMoniker

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

ppmkReduced
Type: System.Runtime.InteropServices.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.

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

.NET Framework
Available since 1.1
Return to top
Show: