CArchive::SetObjectSchema

void SetObjectSchema( UINT nSchema );

Parameters

nSchema

Specifies the object’s schema.

Remarks

Call this member function to set the object schema stored in the archive object to nSchema. The next call to GetObjectSchema will return the value stored in nSchema.

Use SetObjectSchema for advanced versioning; for example, when you want to force a particular version to be read in a Serialize function of a derived class.

CArchive OverviewClass MembersHierarchy Chart

See Also   CArchive::GetObjectSchema