|  | 
			
				| Gets the field identifier. | 
			
				|  | 
			
				| 
						
							|  | enum eCrncyFld 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. crnfSysNum (C++) or eCrncyFld.crnfSysNum (C# / VB.NET). |  |  |  | Remarks |  | 
		
	|  | If an identifier is given for a field that does not exist, this method will return -1. |  |  
							|  |  
							| See Also |  
							|  |  | 
			|  | 
			| Samples | 
			|  | 
			
				| 
						
							|  | C++ |  
							|  | // Retrieve the identifier of the 'system number'-field.
 eCrncyFld eFieldId = pCrncy->GetFieldID ("SysNum");
 
 
 |  | 
			
				| 
						
							|  | C# |  
							|  | // Retrieve the identifier of the 'system number'-field.
 eCrncyFld eFieldId = oCrncy.GetFieldID ("SysNum");
 
 
 |  | 
			
				| 
						
							|  | VBS |  
							|  | ' Retrieve the identifier of the 'system number'-field.
 Dim eFieldId
 eFieldId = oCrncy.GetFieldID("SysNum")
 
 
 |  | 
			
				| 
						
							|  | VB.NET |  
							|  | ' Retrieve the identifier of the 'system number'-field.
 Dim eFieldId As eCrncyFld
 eFieldId = oCrncy.GetFieldID("SysNum")
 
 
 |  |