IMoniker.Reduce(IBindCtx, Int32, IMoniker, IMoniker) 方法

定义

返回一个减少的名字对象,该名字对象是另一个名字对象,它引用与当前名字对象相同的对象,但可以绑定到相同或更高的效率。

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)

参数

pbc
IBindCtx

IBindCtx 绑定上下文中要用于此绑定操作的接口的引用。

dwReduceHowFar
Int32

一个值,该值指定当前名字对象应减少的距离。

ppmkToLeft
IMoniker

对当前名字对象左侧名字对象的引用。

ppmkReduced
IMoniker

此方法返回时,包含对当前名字对象的缩减形式的引用,可以是 null 发生错误或当前名字对象减为无。 此参数未初始化传递。

注解

有关详细信息,请参阅 IMoniker::Reduce 方法

适用于