ComponentOne ASP.NET MVC Controls
Fields Method (BaseODataCollectionViewServiceBuilder<T,TControl,TBuilder>)

C1.Web.Mvc.Fluent Namespace > BaseODataCollectionViewServiceBuilder<T,TControl,TBuilder> Class : Fields Method
The value.
Configurates C1.Web.Mvc.BaseODataCollectionViewService<T>.Fields. Sets an array containing the names of the fields to retrieve from the data source.
Syntax
'Declaration
 
Public Function Fields( _
   ByVal ParamArray value() As String _
) As TBuilder
public TBuilder Fields( 
   params string[] value
)

Parameters

value
The value.

Return Value

Current builder.
Remarks
If this property is set to null or to an empty array, all fields are retrieved.
See Also

Reference

BaseODataCollectionViewServiceBuilder<T,TControl,TBuilder> Class
BaseODataCollectionViewServiceBuilder<T,TControl,TBuilder> Members