 | ICommenceDatabaseViewFields Method (Int32, ListString, String) |
Returns multiple field values (n) for the Indexth item that satisfies the currently defined filter (if any). Use the ViewItemCount request to determine that maximum Index value. Use the GetFieldNames request to determine valid field names.
The string "(deleted)" will be returned if the requested item is deleted after the ViewData snapshot is taken. Image type fields are not allowed in the Field_ parameters.
Namespace:
Vovin.CmcLibNet.Database
Assembly:
Vovin.CmcLibNet (in Vovin.CmcLibNet.dll) Version: 1.0.7729.42686
Syntaxstring[] ViewFields(
int index,
List<string> fields,
string delim = null
)
Function ViewFields (
index As Integer,
fields As List(Of String),
Optional delim As String = Nothing
) As String()
Parameters
- index
- Type: SystemInt32
Indexth item (1-based) that satisfies the currently defined filter (if any). - fields
- Type: System.Collections.GenericListString
List of fields to retrieve. - delim (Optional)
- Type: SystemString
Delimiter, up to max 8 chars.
Return Value
Type:
StringString array of string representing the fieldvalues.
RemarksUsing a
ICommenceQueryRowSet is usually faster and easier. This method is only available to .NET applications.
See Also