共用方式為


StrategyBasedComWrappers.CreateDefaultCacheStrategy 方法

定義

建立用於快取 COM 對象的預設策略。

protected:
 static System::Runtime::InteropServices::Marshalling::IIUnknownCacheStrategy ^ CreateDefaultCacheStrategy();
protected static System.Runtime.InteropServices.Marshalling.IIUnknownCacheStrategy CreateDefaultCacheStrategy ();
static member CreateDefaultCacheStrategy : unit -> System.Runtime.InteropServices.Marshalling.IIUnknownCacheStrategy
Protected Shared Function CreateDefaultCacheStrategy () As IIUnknownCacheStrategy

傳回

無論一開始擷取介面的線程為何,預設策略會針對每個介面快取介面指標。

適用於