StyleListManagerBaseTList, TItem, TListManagerEntryTryRegisterList(IXmlDeserializationInfo, TList, ItemDefinitionLevel, TList) Method |
Try to register the provided list. This function is intended to be used during deserialization. It keeps track of when a list was renamed, and stores
this information in the deserialization info to be used by the members of the list during deserialization.
Namespace: Altaxo.DrawingAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public bool TryRegisterList(
IXmlDeserializationInfo deserializationInfo,
TList instance,
ItemDefinitionLevel level,
out TList storedList
)
Parameters
- deserializationInfo IXmlDeserializationInfo
- The deserialization info of the deserialization that is under way. Can be null.
- instance TList
- The new list which is tried to register.
- level ItemDefinitionLevel
- The level on which this list is defined.
- storedList TList
- On return, this is the list which is either registered, or is an already registed list with exactly the same elements.
Return Value
BooleanTrue if the list was new and thus was added to the collection; false if the list has already existed.
See Also