語言

ObjectPoolingAttribute.Apply(Hashtable) 方法

定義

由 .NET Framework 基礎架構內部呼叫,並將 ObjectPoolingAttribute 類別屬性套用到服務元件。

public:
 virtual bool Apply(System::Collections::Hashtable ^ info);
public bool Apply(System.Collections.Hashtable info);
abstract member Apply : System.Collections.Hashtable -> bool
override this.Apply : System.Collections.Hashtable -> bool
Public Function Apply (info As Hashtable) As Boolean

參數

info
Hashtable

一個包含內部物件的雜湊表,該物件被套用物件池屬性,並由內部鍵值參考。

傳回

true如果方法有變動;否則,。 false

備註

儘管它是公開方法,Apply 方法僅設計用於 .NET Framework 基礎架構內。 開發者只需套用 ObjectPoolingAttribute 類別屬性並在介面中設定其他成員即可。

適用於