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




obj
The object that is added to be traced by this instance of the PersistingTrace class.
depth
The depth of the current persist.
Adds an object to be traced as "persisted" by this class. Persistent objects that are not saved, but their node has been visited are added by using this method. Classes implementing the ICustomPersister interface should only add objects if they save them directly to the storage without using the ObjectContext. See the ICustomPersister interface for more information.

Syntax

Visual Basic (Declaration) 
Public Sub MarkPersisted( _
   ByVal obj As Object, _
   ByVal depth As PersistDepths _
) 
Visual Basic (Usage)Copy Code
Dim instance As PersistingTrace
Dim obj As Object
Dim depth As PersistDepths
 
instance.MarkPersisted(obj, depth)
C# 
public void MarkPersisted( 
   object obj,
   PersistDepths depth
)
Managed Extensions for C++ 
public: void MarkPersisted( 
   Object* obj,
   PersistDepths depth
) 
C++/CLI 
public:
void MarkPersisted( 
   Object^ obj,
   PersistDepths depth
) 

Parameters

obj
The object that is added to be traced by this instance of the PersistingTrace class.
depth
The depth of the current persist.

Requirements

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

See Also