Chili.Opf3 Send comments on this topic.
ContainsPersisted Method
See Also 
Chili.Opf3 Namespace > PersistingTrace Class : ContainsPersisted Method




obj
The object that is checked of being already traced.
depth
The depth of the current persist.
Returns whether the persistent object is already in the "persisted" list of this class.

Syntax

Visual Basic (Declaration) 
Public Function ContainsPersisted( _
   ByVal obj As Object, _
   ByVal depth As PersistDepths _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As PersistingTrace
Dim obj As Object
Dim depth As PersistDepths
Dim value As Boolean
 
value = instance.ContainsPersisted(obj, depth)
C# 
public bool ContainsPersisted( 
   object obj,
   PersistDepths depth
)
Managed Extensions for C++ 
public: bool ContainsPersisted( 
   Object* obj,
   PersistDepths depth
) 
C++/CLI 
public:
bool ContainsPersisted( 
   Object^ obj,
   PersistDepths depth
) 

Parameters

obj
The object that is checked of being already traced.
depth
The depth of the current persist.

Return Value

True when the persistent object is already traced by this instance of the PersistingTrace class.

Requirements

Platforms: Windows 2000, Windows XP family, Windows Server 2003 family, Windows Vista family

See Also