Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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,
	IMoniker^% ppmkToLeft,
	[OutAttribute] IMoniker^% ppmkReduced
)

Parameters

pbc
Type: System.Runtime.InteropServices.ComTypes::IBindCtx^

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

dwReduceHowFar
Type: System::Int32

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

ppmkToLeft
Type: System.Runtime.InteropServices.ComTypes::IMoniker^%

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

ppmkReduced
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
Show:
© 2017 Microsoft