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)
|
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