ASP.NET MVC Controls
NewItemCreator Method

The value
Sets a function that creates new items for the collection.
Syntax
'Declaration
 
Public Function NewItemCreator( _
   ByVal value As String _
) As CollectionViewServiceBuilder(Of T)
public CollectionViewServiceBuilder<T> NewItemCreator( 
   string value
)

Parameters

value
The value

Return Value

Current builder
Remarks
If the creator function is not supplied, try to create an uninitialized item of the appropriate type. If the creator function is supplied, it should be a function that takes no parameters and returns an initialized object of the proper type for the collection.
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

CollectionViewServiceBuilder<T> Class
CollectionViewServiceBuilder<T> Members

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum |  Documentation Feedback