DocumentDataItemClassGetBy Method | |
Gives a data item when exist by criterion
Namespace:
SOWIData.XML
Assembly:
SOWIData.XML (in SOWIData.XML.dll) Version: 19.1.23.1 (19.1.23.622)
Syntax public DataItemClass GetBy(
Object pValue,
string pField = "ID"
)
Public Function GetBy (
pValue As Object,
Optional pField As String = "ID"
) As DataItemClass
Parameters
- pValue
- Type: SystemObject
Value to search - pField (Optional)
- Type: SystemString
Field name to search. Optional: default value is ID
Return Value
Type:
DataItemClassA data item or a exception when not exist or more exist by criterion
See Also