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

定義

傳回縮減的 Moniker,其為與目前 Moniker 參考相同物件的另一個 Moniker,但可以用相同或較高的效率來繫結。

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

指定目前 Moniker 應縮減的值。

ppmkToLeft
IMoniker

目前 Moniker 左邊的 Moniker 之參考。

ppmkReduced
IMoniker

這個方法傳回時,包含目前 Moniker 縮減形式的參考,如果發生錯誤,或如果這個 Moniker 縮減到無的話,則可以為 null。 這個參數會以未初始化的狀態傳遞。

備註

如需詳細資訊,請參閱 IMoniker::Reduce 方法

適用於