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 方法

適用於