HasField Method HasField(String) Declaration bool HasField(string fieldName) Parameters String fieldName name of the field Returns Boolean true if field exist in this class.