Dynamicweb 8 Documentation
ToItem(ItemType,ItemEntry,Boolean) Method

Item metadata.
Previous state of the item (for values that were not populated on the form).
Value indicating whether to automatically flush the given form state from the current HTTP session.
Reads the current form from the request and constructs the item instance from the form values.
Syntax
'Declaration
 
Public Overloads Shared Function ToItem( _ 
   ByVal itemMeta As ItemType, _ 
   ByVal previousState As ItemEntry, _ 
   ByVal cleanup As Boolean _ 
) As ItemEntry
public static ItemEntry ToItem( 
   ItemType itemMeta,
   ItemEntry previousState,
   bool cleanup 
)

Parameters

itemMeta
Item metadata.
previousState
Previous state of the item (for values that were not populated on the form).
cleanup
Value indicating whether to automatically flush the given form state from the current HTTP session.

Return Value

Item instance.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

EditForm Class
EditForm Members
Overload List

Send Feedback