IMoniker.Reduce Method (IBindCtx, Int32, IMoniker, IMoniker)


Returns a reduced moniker, which is another moniker that refers to the same object as the current moniker but can be bound with equal or greater efficiency.

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

void Reduce(
	IBindCtx pbc,
	int dwReduceHowFar,
	ref IMoniker ppmkToLeft,
	out IMoniker ppmkReduced


Type: System.Runtime.InteropServices.ComTypes.IBindCtx

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

Type: System.Int32

A value that specifies how far the current moniker should be reduced.

Type: System.Runtime.InteropServices.ComTypes.IMoniker

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

Type: System.Runtime.InteropServices.ComTypes.IMoniker

When this method returns, contains a reference to the reduced form of the current moniker, which can be null if an error occurs or if the current moniker is reduced to nothing. This parameter is passed uninitialized.

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

Universal Windows Platform
Available since 8
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Return to top