HasField Method HasField(String) Declaration bool HasField(string fieldName) Parameters String fieldName field name Returns Boolean true if this class definition contains a field named by given name