Rediger

Del via


ObjectPoolingAttribute.Apply(Hashtable) Method

Definition

Called internally by the .NET Framework infrastructure while applying the ObjectPoolingAttribute class attribute to a serviced component.

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

Parameters

info
Hashtable

A hash table that contains an internal object to which object pooling properties are applied, referenced by an internal key.

Returns

true if the method has made changes; otherwise, false.

Remarks

Even though it is a public method, the Apply method is intended only to be used from within the .NET Framework infrastructure. It is sufficient for a developer to apply the ObjectPoolingAttribute class attribute and set other members in its interface.

Applies to