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

定义

返回简化的名字对象,它是与该名字对象引用同一对象但能够用相等或更高的效率绑定的另一个名字对象。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.

public:
 void Reduce(System::Runtime::InteropServices::UCOMIBindCtx ^ pbc, int dwReduceHowFar, System::Runtime::InteropServices::UCOMIMoniker ^ % ppmkToLeft, [Runtime::InteropServices::Out] System::Runtime::InteropServices::UCOMIMoniker ^ % ppmkReduced);
public void Reduce (System.Runtime.InteropServices.UCOMIBindCtx pbc, int dwReduceHowFar, ref System.Runtime.InteropServices.UCOMIMoniker ppmkToLeft, out System.Runtime.InteropServices.UCOMIMoniker ppmkReduced);
abstract member Reduce : System.Runtime.InteropServices.UCOMIBindCtx * int * UCOMIMoniker * UCOMIMoniker -> unit
Public Sub Reduce (pbc As UCOMIBindCtx, dwReduceHowFar As Integer, ByRef ppmkToLeft As UCOMIMoniker, ByRef ppmkReduced As UCOMIMoniker)

参数

pbc
UCOMIBindCtx UCOMIBindCtx UCOMIBindCtx UCOMIBindCtx

对要在此绑定操作中使用的绑定上下文中的 IBindCtx 接口的引用。A reference to the IBindCtx interface on the bind context to be used in this binding operation.

dwReduceHowFar
Int32 Int32 Int32 Int32

指定该名字对象应该简化的程度。Specifies how far this moniker should be reduced.

ppmkToLeft
UCOMIMoniker UCOMIMoniker UCOMIMoniker UCOMIMoniker

对该名字对象左边的名字对象的引用。A reference to the moniker to the left of this moniker.

ppmkReduced
UCOMIMoniker UCOMIMoniker UCOMIMoniker UCOMIMoniker

成功返回时,对该名字对象的简化形式的引用(如果发生错误或该名字对象简化为无,则可以为 null)。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.

注解

有关IMoniker::Reduce的详细信息,请参阅 MSDN library。For more information about IMoniker::Reduce, see the MSDN Library.

适用于