Venice
Suppl::GetFieldID
 
Gets the field identifier.
 
enum eSupplFld GetFieldID (
    BSTR bsFieldName
)
 
Parameters
bsFieldName
[in] A string containing the name of the field of which you want to know the identifier.
 
Return value
Identifier of the field, e.g. supfSysNum (C++) or eSupplFld.supfSysNum (C# / VB.NET).
 
Remarks
If an identifier is given for a field that does not exist, this method will return -1.
 
See Also
CreateSuppl
GetFieldName
 
Samples
 
C++
 
// Retrieve the identifier of the 'system number'-field.
eSupplFld eFieldId = pSuppl->GetFieldID ("SysNum");

C#
 
// Retrieve the identifier of the 'system number'-field.
eSupplFld eFieldId = oSuppl.GetFieldID ("SysNum");

VBS
 
' Retrieve the identifier of the 'system number'-field.
Dim eFieldId
eFieldId = oSuppl.GetFieldID("SysNum")

VB.NET
 
' Retrieve the identifier of the 'system number'-field.
Dim eFieldId As eSupplFld
eFieldId = oSuppl.GetFieldID("SysNum")