This document is archived and information here might be outdated. Recommended version. |
Memoizes an object uniquely associated with the specified key. Adding more objects than allowed (as indicated by the .MaximumSize property) would cause one or more previously memoized items to be removed based on an implementation-specific eviction strategy.
[Visual Basic .NET]
Public Sub Add ( _
ByVal vtKey As Object, _
ByVal ppObject As Object _
)
[C#]
public void Add (
object vtKey,
object ppObject
);
[C++]
HRESULT Add(
VARIANT vtKey,
LPUNKNOWN ppObject
);
[C++] Parameters vtKey [in]
vtKey is a parameter of type VARIANT ppObject [in]
ppObject is a parameter of type IUnknown