Dynamicweb 8 Documentation
ToItem(ItemType,ItemEntry) Method

Item metadata.
Previous state of the item (for values that were not populated on the form).
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 _ 
) As ItemEntry
public static ItemEntry ToItem( 
   ItemType itemMeta,
   ItemEntry previousState 
)

Parameters

itemMeta
Item metadata.
previousState
Previous state of the item (for values that were not populated on the form).

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