' create a new PersistenceSettings object
Dim settings As New PersistenceSettings()
' set save persistence option - AllButIgnored
settings.SavePersistenceOptions = Persistence.Primitives.PersistenceOption.AllButIgnored
' we will identify the specific property by its name
Dim pnpi As New PropertyNamePersistenceInfo()
pnpi.PropertyName = "Content"
' add the property in the IgnorePropertySettings collection
settings.IgnorePropertySettings.Add(pnpi)
Dim memoryStream As MemoryStream = PersistenceManager.Save(chkOption, settings)