This documentation is archived and is not being maintained.

IMoniker.Reduce Method

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.

Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0, 2.0